remove key...

This commit is contained in:
Alex
2023-02-14 13:44:47 +00:00
parent 046fbebf56
commit 3d0642dca3

View File

@@ -73,8 +73,6 @@ def api_answer():
# loading the index and the store and the prompt template
docsearch = FAISS.load_local(vectorstore, OpenAIEmbeddings(openai_api_key=api_key))
#docsearch = FAISS(OpenAIEmbeddings(openai_api_key="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"), index, store)
# create a prompt template
c_prompt = PromptTemplate(input_variables=["summaries", "question"], template=template)
# create a chain with the prompt template and the store