CoolFace
Apppublic

Danielzero/GPT3.5

sourceHugging Facegpl-3.0updated 3y agoView on Hugging Face
1likes
config_example.json35 linesDownload Raw Back to root
1{2    // 你的OpenAI API Key,一般必填,3    // 若缺省填为 "openai_api_key": "" 则必须再在图形界面中填入API Key4    "openai_api_key": "",5    // 你的xmchat API Key,与OpenAI API Key不同6    "xmchat_api_key": "",7    "language": "auto",8    // 如果使用代理,请取消注释下面的两行,并替换代理URL9    // "https_proxy": "http://127.0.0.1:1079",10    // "http_proxy": "http://127.0.0.1:1079",11    "users": [], // 用户列表,[[用户名1, 密码1], [用户名2, 密码2], ...]12    "local_embedding": false, //是否在本地编制索引13    "default_model": "gpt-3.5-turbo", // 默认模型14    "advance_docs": {15        "pdf": {16            // 是否认为PDF是双栏的17            "two_column": false,18            // 是否使用OCR识别PDF中的公式19            "formula_ocr": true20        }21    },22    // 是否多个API Key轮换使用23    "multi_api_key": false,24    "api_key_list": [25        "sk-xxxxxxxxxxxxxxxxxxxxxxxx1",26        "sk-xxxxxxxxxxxxxxxxxxxxxxxx2",27        "sk-xxxxxxxxxxxxxxxxxxxxxxxx3"28    ],29    // 如果使用自定义端口、自定义ip,请取消注释并替换对应内容30    // "server_name": "0.0.0.0",31    // "server_port": 7860,32    // 如果要share到gradio,设置为true33    // "share": false,34}35