06 2023 档案

摘要:### 方案二更新: 3、客户端侧需要增加流式打印的逻辑。 2、试一下这个命令: curl --location 'http://124.70.15.141:9090/v1/chat/completions' \ --header 'Content-Type: application/json' \ 阅读全文
posted @ 2023-06-15 11:35 Gelthin 阅读(35) 评论(0) 推荐(0)
摘要:1、特殊符号 \n 的转换逻辑 ```python import json x = {'test': "测试\n"} # python 中的字典结构 x_json = json.dumps(x, ensure_ascii=False) x_json # '{"test": "测试\\n"}' 这里看 阅读全文
posted @ 2023-06-03 11:33 Gelthin 阅读(8) 评论(0) 推荐(0)