Skip to content

Commit

Permalink
Merge pull request #26 from jujimeizuo/main
Browse files Browse the repository at this point in the history
chore: add meta_instruction in wish-app
  • Loading branch information
GoldWaterFall authored Jan 31, 2024
2 parents 7ded9b1 + cb78289 commit 561cee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/xlab/tianji_wish.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def prepare_generation_config():

def combine_history(prompt):
messages = st.session_state.messages
meta_instruction = ""
meta_instruction = "你现在是一个送祝福大师,帮我针对不同人和事情、节日送对应的祝福"
total_prompt = f"<s><|im_start|>system\n{meta_instruction}<|im_end|>\n"
for message in messages:
cur_content = message["content"]
Expand Down

0 comments on commit 561cee4

Please sign in to comment.