Kate0816 commited on
Commit
e839698
·
1 Parent(s): be483b4

Update modules/models/ChuanhuAgent.py

Browse files
Files changed (1) hide show
  1. modules/models/ChuanhuAgent.py +1 -0
modules/models/ChuanhuAgent.py CHANGED
@@ -131,6 +131,7 @@ class ChuanhuAgent_Client(BaseLLMModel):
131
  status = i18n("索引构建完成")
132
  # Summarize the document
133
  logging.info(i18n("生成内容总结中……"))
 
134
  with get_openai_callback() as cb:
135
  os.environ["OPENAI_API_KEY"] = self.api_key
136
  from langchain.chains.summarize import load_summarize_chain
 
131
  status = i18n("索引构建完成")
132
  # Summarize the document
133
  logging.info(i18n("生成内容总结中……"))
134
+ chatbot.append(self.index)
135
  with get_openai_callback() as cb:
136
  os.environ["OPENAI_API_KEY"] = self.api_key
137
  from langchain.chains.summarize import load_summarize_chain