Commit
·
8de38b0
1
Parent(s):
5da2e2f
Update query_data.py
Browse files- query_data.py +1 -1
query_data.py
CHANGED
@@ -25,7 +25,7 @@ QA_PROMPT = PromptTemplate(template=template, input_variables=["question", "cont
|
|
25 |
prefix_messages = [{"role": "system", "content": "You are a helpful assistant that is very good at answering questions about conversational AI and the bot forge."}]
|
26 |
|
27 |
def get_chain(vectorstore):
|
28 |
-
llm = OpenAIChat(temperature=0,prefix_messages)
|
29 |
qa_chain = ChatVectorDBChain.from_llm(
|
30 |
llm,
|
31 |
vectorstore,
|
|
|
25 |
prefix_messages = [{"role": "system", "content": "You are a helpful assistant that is very good at answering questions about conversational AI and the bot forge."}]
|
26 |
|
27 |
def get_chain(vectorstore):
|
28 |
+
llm = OpenAIChat(temperature=0,prefix_messages=prefix_messages)
|
29 |
qa_chain = ChatVectorDBChain.from_llm(
|
30 |
llm,
|
31 |
vectorstore,
|