CoolFace
Apppublic

Intoval/privateChatGPT

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