Pijush2023 commited on
Commit
5be0d89
·
verified ·
1 Parent(s): e813b58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,6 +124,7 @@ _search_query = RunnableBranch(
124
  )
125
  | CONDENSE_QUESTION_PROMPT
126
  | ChatOpenAI(temperature=0, api_key=os.environ['OPENAI_API_KEY'])
 
127
  | StrOutputParser(),
128
  ),
129
  RunnableLambda(lambda x: x["question"]),
@@ -149,7 +150,6 @@ chain_neo4j = (
149
  )
150
  | qa_prompt
151
  | chat_model
152
- | conversational_memory
153
  | StrOutputParser()
154
  )
155
 
 
124
  )
125
  | CONDENSE_QUESTION_PROMPT
126
  | ChatOpenAI(temperature=0, api_key=os.environ['OPENAI_API_KEY'])
127
+ | conversational_memory
128
  | StrOutputParser(),
129
  ),
130
  RunnableLambda(lambda x: x["question"]),
 
150
  )
151
  | qa_prompt
152
  | chat_model
 
153
  | StrOutputParser()
154
  )
155