agentharbor commited on
Commit
d01a68b
·
verified ·
1 Parent(s): e8e3ef2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ embeddings = HuggingFaceEmbeddings()
41
  from langchain.vectorstores import FAISS
42
 
43
  db = FAISS.from_documents(docs, embeddings)
44
- llm=HuggingFaceEndpoint(repo_id="mistralai/Mistral-7B-Instruct-v0.2", temperature=0.1, max_length=512)
45
  chain = load_qa_chain(llm, chain_type="stuff")
46
 
47
  def get_answer(query):
 
41
  from langchain.vectorstores import FAISS
42
 
43
  db = FAISS.from_documents(docs, embeddings)
44
+ llm=HuggingFaceEndpoint(repo_id="mistralai/Mistral-7B-Instruct-v0.2", temperature=0.2, max_length=512)
45
  chain = load_qa_chain(llm, chain_type="stuff")
46
 
47
  def get_answer(query):