nickmuchi commited on
Commit
a6a3002
·
1 Parent(s): 9b0cc2c

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -228,7 +228,7 @@ def embed_text(query,embedding_model,_docsearch):
228
  # llm = OpenAI(temperature=0)
229
  chat_llm = ChatOpenAI(streaming=True,
230
  model_name = 'gpt-4',
231
- callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]),
232
  verbose=True,
233
  temperature=0
234
  )
 
228
  # llm = OpenAI(temperature=0)
229
  chat_llm = ChatOpenAI(streaming=True,
230
  model_name = 'gpt-4',
231
+ callbacks=[StdOutCallbackHandler()],
232
  verbose=True,
233
  temperature=0
234
  )