diff options
| author | sigoden <sigoden@gmail.com> | 2024-09-02 10:38:53 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-02 10:38:53 +0800 |
| commit | dc78636129427111e8949dcb0160aee15c0f3e91 (patch) | |
| tree | ab4ea2661830e61911cebfc16c7ac41216f9f392 /config.example.yaml | |
| parent | e39498e340a192077ec64d14c72470cd99716a71 (diff) | |
| download | aichat-dc78636129427111e8949dcb0160aee15c0f3e91.tar.gz | |
feat: add huggingface client (#822)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config.example.yaml b/config.example.yaml index 35ebf45..65e4d71 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -228,6 +228,12 @@ clients: api_base: https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/v1 api_key: xxx + # See https://huggingface.co/inference-api/serverless + - type: openai-compatible + name: huggingface + api_base: https://api-inference.huggingface.co/v1 + api_key: hf_xxx + # See https://replicate.com/docs - type: replicate api_key: xxx @@ -303,6 +309,8 @@ clients: api_base: https://api.together.xyz/v1 api_key: xxx + # ----- RAG dedicated ----- + # See https://jina.ai - type: openai-compatible name: jina |
