chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:36:28 +08:00
commit 9d3590ab86
509 changed files with 2512422 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from open_chatcaht.chatchat_api import ChatChat
# todo 之后改为标准测试
# chatchat = ChatChat()
# for data in chatchat.chat.kb_chat(query='你好', kb_name="example_kb", model='glm-4'):
# print(data)
# for data in chatchat.chat.kb_chat(query='你好', kb_name="example_kb", model='glm-4'):
# print(data)
#
# for data in chatchat.chat.file_chat(query='你好', knowledge_id="16d57480d9654104b405648f54d2485e", model_name='glm-4'):
# print(data)
# print(chatchat.chat.chat_feedback(message_id='a9bb673176cd4e34a827c63fd72945f2'))