remove key...

pull/92/head
Alex 2 years ago
parent 046fbebf56
commit 3d0642dca3

@ -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

Loading…
Cancel
Save