Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def rag_cleaner(inp):
|
|
82 |
|
83 |
def get_prompt_text(question, context, formatted = True, llm_model_picked = 'mistralai/Mistral-7B-Instruct-v0.2'):
|
84 |
if formatted:
|
85 |
-
sys_instruction = f"Context:\n {context} \n
|
86 |
message = f"Question: {question}"
|
87 |
|
88 |
if 'mistralai' in llm_model_picked:
|
|
|
82 |
|
83 |
def get_prompt_text(question, context, formatted = True, llm_model_picked = 'mistralai/Mistral-7B-Instruct-v0.2'):
|
84 |
if formatted:
|
85 |
+
sys_instruction = f"Context:\n {context} \n Avuti i seguenti abstract di studi scientificit, ripondi alla domanda. Cita i titoli degli abstracts quando rispondi,non citare links o date."
|
86 |
message = f"Question: {question}"
|
87 |
|
88 |
if 'mistralai' in llm_model_picked:
|