Spaces:
Runtime error
Runtime error
adrien.aribaut-gaudin
commited on
Commit
·
666e626
1
Parent(s):
d24ee64
fix: template in generate_answer
Browse files- src/tools/llm.py +1 -0
src/tools/llm.py
CHANGED
@@ -48,6 +48,7 @@ class LlmAgent:
|
|
48 |
f"```{context}```"
|
49 |
f"\\n 2 You are consistent and avoid redundancies with the rest of the initial"
|
50 |
f" conversation delimited by triple backticks: ```{histo}```"
|
|
|
51 |
)
|
52 |
|
53 |
p = self.llm(template)
|
|
|
48 |
f"```{context}```"
|
49 |
f"\\n 2 You are consistent and avoid redundancies with the rest of the initial"
|
50 |
f" conversation delimited by triple backticks: ```{histo}```"
|
51 |
+
f" If the langage of the answer is the same as the langage of the query, you shall be concise but keep the meaning of the answer"
|
52 |
)
|
53 |
|
54 |
p = self.llm(template)
|