diff --git a/docs/references/supported_models.mdx b/docs/references/supported_models.mdx index fc88fe091..118d0ab43 100644 --- a/docs/references/supported_models.mdx +++ b/docs/references/supported_models.mdx @@ -77,6 +77,19 @@ A complete list of models supported by RAGFlow, which will continue to expand. If your model is not listed here but has APIs compatible with those of OpenAI, click **OpenAI-API-Compatible** on the **Model providers** page to configure your model. ::: +## Example: AI Badgr (OpenAI-compatible) + +You can use **AI Badgr** with RAGFlow via the existing OpenAI-API-Compatible provider. + +To configure AI Badgr: + +- **Provider**: `OpenAI-API-Compatible` +- **Base URL**: `https://aibadgr.com/api/v1` +- **API Key**: your AI Badgr API key (from the AI Badgr dashboard) +- **Model**: any AI Badgr chat or embedding model ID, as exposed by AI Badgr's OpenAI-compatible APIs + +AI Badgr implements OpenAI-compatible endpoints for `/v1/chat/completions`, `/v1/embeddings`, and `/v1/models`, so no additional code changes in RAGFlow are required. + :::note The list of supported models is extracted from [this source](https://github.com/infiniflow/ragflow/blob/main/rag/llm/__init__.py) and may not be the most current. For the latest supported model list, please refer to the Python file. :::