ProfessorLeVesseur commited on
Commit
abf2278
1 Parent(s): 141bf65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def ask_with_memory(vector_store, query, chat_history=[]):
36
 
37
  from langchain.prompts import ChatPromptTemplate, SystemMessagePromptTemplate, HumanMessagePromptTemplate
38
 
39
- llm = ChatOpenAI(model_name='gpt-3.5-turbo', temperature=0.5, openai_api_key=openai_api_key)
40
 
41
  retriever = vector_store.as_retriever(search_type='similarity', search_kwargs={'k': 3})
42
 
 
36
 
37
  from langchain.prompts import ChatPromptTemplate, SystemMessagePromptTemplate, HumanMessagePromptTemplate
38
 
39
+ llm = ChatOpenAI(model_name='gpt-3.5-turbo', temperature=0.5, openai_api_key=OPENAI_API_KEY)
40
 
41
  retriever = vector_store.as_retriever(search_type='similarity', search_kwargs={'k': 3})
42