vagrillo commited on
Commit
9de27a6
1 Parent(s): 0a6d3b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 Given the following scientific paper abstracts, take a deep breath and lets think step by step to answer the question. Cite the titles of your sources when answering, do not cite links or dates."
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: