mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-28 17:53:33 +08:00
* provider_configuration init of MODEL_PLATFORMS * 开发手册 * 兼容model_providers,集成webui及API中平台配置的初始化
30 lines
647 B
Plaintext
30 lines
647 B
Plaintext
openai:
|
|
model_credential:
|
|
- model: 'gpt-3.5-turbo'
|
|
model_type: 'llm'
|
|
model_credentials:
|
|
openai_api_key: 'sk-'
|
|
openai_organization: ''
|
|
openai_api_base: ''
|
|
- model: 'gpt-4'
|
|
model_type: 'llm'
|
|
model_credentials:
|
|
openai_api_key: 'sk-'
|
|
openai_organization: ''
|
|
openai_api_base: ''
|
|
|
|
provider_credential:
|
|
openai_api_key: 'sk-'
|
|
openai_organization: ''
|
|
openai_api_base: ''
|
|
|
|
xinference:
|
|
model_credential:
|
|
- model: 'chatglm3-6b'
|
|
model_type: 'llm'
|
|
model_credentials:
|
|
server_url: 'http://127.0.0.1:9997/'
|
|
model_uid: 'chatglm3-6b'
|
|
|
|
|