qgyd2021 commited on
Commit
0452e62
1 Parent(s): 98d9a76

[update]add 三国演义.txt

Browse files
Files changed (3) hide show
  1. data/three_kingdoms.txt +3 -0
  2. data/三国演义.txt +0 -0
  3. main.py +2 -2
data/three_kingdoms.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e289a1413908a0d6b40f35a1e4ed88aa6aaa0d93d0618b2272193d06344947fd
3
+ size 1206396
data/三国演义.txt DELETED
The diff for this file is too large to render. See raw diff
 
main.py CHANGED
@@ -395,7 +395,7 @@ def refresh(openai_api_key: str,
395
  )
396
 
397
  message_list = get_message_list(client, thread_id=thread_id)
398
- print(message_list)
399
  logger.info("message_list: {}".format(message_list))
400
  conversation = convert_message_list_to_conversation(message_list)
401
  return conversation
@@ -565,7 +565,7 @@ def main():
565
  "三国演义文档问答测试",
566
  "{\"type\": \"retrieval\"}",
567
  [
568
- (project_path / "data/三国演义.txt").as_posix()
569
  ],
570
  "gpt-4-1106-preview",
571
  "刘备和张飞是什么关系。"
 
395
  )
396
 
397
  message_list = get_message_list(client, thread_id=thread_id)
398
+ # print(message_list)
399
  logger.info("message_list: {}".format(message_list))
400
  conversation = convert_message_list_to_conversation(message_list)
401
  return conversation
 
565
  "三国演义文档问答测试",
566
  "{\"type\": \"retrieval\"}",
567
  [
568
+ (project_path / "data/three_kingdoms.txt").as_posix()
569
  ],
570
  "gpt-4-1106-preview",
571
  "刘备和张飞是什么关系。"