chore: import upstream snapshot with attribution
This commit is contained in:
@@ -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'))
|
||||
Reference in New Issue
Block a user