singhankur01 commited on
Commit
9321e1e
·
verified ·
1 Parent(s): 6824985

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,9 +58,9 @@ async def lifespan(app: FastAPI):
58
  # ml_models["reranker_compressor"] = CrossEncoderReranker(model=cross_encoder_model, top_n=5)
59
  ml_models["llm"] = ChatGoogleGenerativeAI(model="gemini-2.0-flash", api_key=GOOGLE_API_KEY)
60
  ml_models["prompt_template"] = PromptTemplate.from_template(
61
- """You are an expert insurance assistant. Your task is to answer the user's question as concisely as possible using ONLY the provided context.
62
 
63
- Do not add any irrelevent information, explanations, or clauses that are not directly required to answer the question , also do not use bullet points make it in a sentence and perfect.
64
 
65
  Context:
66
  {context}
 
58
  # ml_models["reranker_compressor"] = CrossEncoderReranker(model=cross_encoder_model, top_n=5)
59
  ml_models["llm"] = ChatGoogleGenerativeAI(model="gemini-2.0-flash", api_key=GOOGLE_API_KEY)
60
  ml_models["prompt_template"] = PromptTemplate.from_template(
61
+ """You are an expert insurance , legal, HR, and compliance domain sassistant. Your task is to answer the user's question as concisely as possible using ONLY the provided context.
62
 
63
+ Do not add any irrelevent information, irrelevent explanations or clauses that are not directly required to answer the question , also do not use bullet points make it in a sentence and perfect.
64
 
65
  Context:
66
  {context}