Spaces:
Runtime error
Runtime error
Shaileshshantaram Kadam commited on
Commit ·
c9d8906
1
Parent(s): ce18273
Updated app
Browse files- query_data.py +3 -0
query_data.py
CHANGED
|
@@ -25,6 +25,9 @@ QA_PROMPT = PromptTemplate(template=template, input_variables=["question", "cont
|
|
| 25 |
|
| 26 |
def get_chain(vectorstore):
|
| 27 |
llm = OpenAI(temperature=0)
|
|
|
|
|
|
|
|
|
|
| 28 |
qa_chain = ConversationalRetrievalChain(
|
| 29 |
retriever=llm,
|
| 30 |
vectorstore=vectorstore,
|
|
|
|
| 25 |
|
| 26 |
def get_chain(vectorstore):
|
| 27 |
llm = OpenAI(temperature=0)
|
| 28 |
+
print(llm)
|
| 29 |
+
print(vectorstore)
|
| 30 |
+
print(QA_PROMPT)
|
| 31 |
qa_chain = ConversationalRetrievalChain(
|
| 32 |
retriever=llm,
|
| 33 |
vectorstore=vectorstore,
|