different prompts

This commit is contained in:
Alex
2023-03-29 18:36:58 +01:00
parent 4a7670f2aa
commit ab46ba521f
3 changed files with 7 additions and 6 deletions

View File

@@ -191,8 +191,8 @@ def api_answer():
chain = ChatVectorDBChain.from_llm(
llm=llm,
vectorstore=docsearch,
prompt=p_chat_combine,
qa_prompt=p_chat_reduce,
#prompt=p_chat_combine,
qa_prompt=p_chat_combine,
top_k_docs_for_context=3,
return_source_documents=False)
result = chain({"question": question, "chat_history": []})