yezdata commited on
Commit
5fa4fe1
·
1 Parent(s): 13aa903

s change prompt

Browse files
Files changed (1) hide show
  1. src/main.py +2 -3
src/main.py CHANGED
@@ -70,10 +70,9 @@ def get_llm_res(
70
  - If the query asks about a general concept (e.g., "Time Series") not explicitly defined but related, apply your relevant general knowledge to relevant parts of the <context> to construct an answer.
71
  - Do NOT fill in gaps with internal knowledge about specific library methods, parameters, or classes, as APIs may have changed.
72
  3. **Conflict Resolution:** If internal knowledge conflicts with <context>, the <context> WINS.
73
- 4. **Tone:** Professional, technical, concise.
74
- 5. **Code Examples:** Provide exact code examples in blocks if possible.
75
  - Ensure code is complete and syntactically correct.
76
- 6. **Format:** Use Markdown (Headers, Bold, Code Blocks). ALWAYS specify the language in code blocks (e.g., ```python).
77
  """).strip()
78
 
79
  user_prompt = textwrap.dedent(f"""
 
70
  - If the query asks about a general concept (e.g., "Time Series") not explicitly defined but related, apply your relevant general knowledge to relevant parts of the <context> to construct an answer.
71
  - Do NOT fill in gaps with internal knowledge about specific library methods, parameters, or classes, as APIs may have changed.
72
  3. **Conflict Resolution:** If internal knowledge conflicts with <context>, the <context> WINS.
73
+ 4. **Code Examples:** Provide exact code examples in blocks if possible.
 
74
  - Ensure code is complete and syntactically correct.
75
+ 5. **Format:** Use Markdown (Headers, Bold, Code Blocks). ALWAYS specify the language in code blocks (e.g., ```python).
76
  """).strip()
77
 
78
  user_prompt = textwrap.dedent(f"""