From dc78636129427111e8949dcb0160aee15c0f3e91 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 2 Sep 2024 10:38:53 +0800 Subject: feat: add huggingface client (#822) --- config.example.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config.example.yaml') 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 -- cgit v1.2.3