hypeconqueror1 commited on
Commit
83e7676
·
verified ·
1 Parent(s): 01217f6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -43,7 +43,7 @@ async def PromptLLM(file: UploadFile = File(...)):
43
  # Create a conversational chain
44
  chain = ConversationalRetrievalChain.from_llm(llm=llm, retriever=db.as_retriever())
45
 
46
- result = chain({"question": query, "chat_history": ''})
47
  return result['answer']
48
 
49
 
 
43
  # Create a conversational chain
44
  chain = ConversationalRetrievalChain.from_llm(llm=llm, retriever=db.as_retriever())
45
 
46
+ result = chain({"question": "Summarise this report", "chat_history": ''})
47
  return result['answer']
48
 
49