camparchimedes commited on
Commit
0bbca34
·
verified ·
1 Parent(s): d255c82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -139,7 +139,11 @@ def setup_multiple_chains():
139
 
140
  llm_chain = LLMChain(llm=llm,
141
  prompt=daysoff_assistant_prompt,
142
- memory=conversation_memory
 
 
 
 
143
  )
144
 
145
  cl.user_session.set("llm_chain", llm_chain)
@@ -147,10 +151,6 @@ def setup_multiple_chains():
147
  api_chain = APIChain.from_llm_and_api_docs(
148
  llm=llm,
149
  api_docs=api_docs_str,
150
- instruction_text_faq=instruction_text_faq,
151
- faq=faq,
152
- instruction_text_priv=instruction_text_priv,
153
- personvernspolicy_data=personvernspolicy_data,
154
  api_url_prompt=api_url_prompt,
155
  api_response_prompt=api_response_prompt,
156
  verbose=True,
 
139
 
140
  llm_chain = LLMChain(llm=llm,
141
  prompt=daysoff_assistant_prompt,
142
+ memory=conversation_memory,
143
+ instruction_text_faq=instruction_text_faq,
144
+ faq=faq,
145
+ instruction_text_priv=instruction_text_priv,
146
+ personvernspolicy_data=personvernspolicy_data
147
  )
148
 
149
  cl.user_session.set("llm_chain", llm_chain)
 
151
  api_chain = APIChain.from_llm_and_api_docs(
152
  llm=llm,
153
  api_docs=api_docs_str,
 
 
 
 
154
  api_url_prompt=api_url_prompt,
155
  api_response_prompt=api_response_prompt,
156
  verbose=True,