lemdaddy commited on
Commit
2267d03
·
1 Parent(s): 1b4c441

remove comment

Browse files
Files changed (1) hide show
  1. chatxbt-assistant.py +2 -4
chatxbt-assistant.py CHANGED
@@ -18,8 +18,6 @@ storage = PgAssistantStorage(
18
  table_name="assistant_runs",
19
  db_engine=sqlalchemy_engine
20
  )
21
- knowledge_base.load(recreate=False)
22
-
23
 
24
  @cl.oauth_callback
25
  def oauth_callback(
@@ -69,14 +67,14 @@ def start():
69
  tools=[CryptoDataTools(), DuckDuckGo(), YFinanceTools(stock_price=True)],
70
  show_tool_calls= is_dev_mode,
71
  markdown=True,
72
- # knowledge_base=knowledge_base,
73
  storage=storage,
74
  search_knowledge=True,
75
  read_chat_history=True,
76
  add_references_to_prompt=True,
77
  add_chat_history_to_prompt=True
78
  )
79
- # cxbt_assistant.knowledge_base.load(recreate=False)
80
 
81
  # Set the assistant in the user session
82
  cl.user_session.set("agent", cxbt_assistant)
 
18
  table_name="assistant_runs",
19
  db_engine=sqlalchemy_engine
20
  )
 
 
21
 
22
  @cl.oauth_callback
23
  def oauth_callback(
 
67
  tools=[CryptoDataTools(), DuckDuckGo(), YFinanceTools(stock_price=True)],
68
  show_tool_calls= is_dev_mode,
69
  markdown=True,
70
+ knowledge_base=knowledge_base,
71
  storage=storage,
72
  search_knowledge=True,
73
  read_chat_history=True,
74
  add_references_to_prompt=True,
75
  add_chat_history_to_prompt=True
76
  )
77
+ cxbt_assistant.knowledge_base.load(recreate=False)
78
 
79
  # Set the assistant in the user session
80
  cl.user_session.set("agent", cxbt_assistant)