Spaces:
Sleeping
Sleeping
Sandaruth
commited on
Commit
•
1ecd503
1
Parent(s):
ac53508
llm update
Browse files
model.py
CHANGED
@@ -75,7 +75,7 @@ QA_PROMPT = PromptTemplate(input_variables=["context", "question"],template=qa_t
|
|
75 |
from langchain.chains import RetrievalQA
|
76 |
|
77 |
Web_qa = RetrievalQA.from_chain_type(
|
78 |
-
llm=
|
79 |
chain_type="stuff",
|
80 |
retriever = vectorstore.as_retriever(search_kwargs={"k": 4}),
|
81 |
return_source_documents= True,
|
|
|
75 |
from langchain.chains import RetrievalQA
|
76 |
|
77 |
Web_qa = RetrievalQA.from_chain_type(
|
78 |
+
llm=llm,
|
79 |
chain_type="stuff",
|
80 |
retriever = vectorstore.as_retriever(search_kwargs={"k": 4}),
|
81 |
return_source_documents= True,
|