mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 13:39:44 +00:00
39 lines
1.8 KiB
Plaintext
39 lines
1.8 KiB
Plaintext
---
|
|
title: AI Providers
|
|
description: Connect Shumai to OpenAI, Anthropic, Gemini, or custom LLM gateways.
|
|
---
|
|
|
|
To enable AI Agents, metadata autofill, and semantic search, Shumai must be connected to an AI model provider. Team Owners can manage these credentials under the **AI Providers** settings tab.
|
|
|
|
---
|
|
|
|
## Built-In Providers
|
|
|
|
Shumai ships with pre-configured settings for major LLM providers:
|
|
|
|
- **Google Gemini**: Recommended for multimodal asset tagging (Autofill Agent) and reasoning tasks.
|
|
- **OpenAI**: Supports GPT-4, GPT-4o, and reasoning models.
|
|
- **Anthropic**: Supports the Claude 3.5 Sonnet and Haiku models.
|
|
|
|
### Global Credentials
|
|
|
|
If your system administrator has configured global keys (like `GEMINI_API_KEY`, `OPENAI_API_KEY`, or `ANTHROPIC_API_KEY`) in the server's environment variables, the respective built-in provider will use these credentials automatically, making them immediately available to the entire team.
|
|
|
|
---
|
|
|
|
## Custom Providers
|
|
|
|
If you want to use local models (via Ollama or vLLM) or private enterprise proxy gateways, you can register custom providers:
|
|
|
|
1. Navigate to **Team Settings** > **AI Providers**.
|
|
2. Click **Add Provider**.
|
|
3. Fill in the configuration parameters:
|
|
- **Provider Name**: E.g., `Ollama-Local` or `Enterprise-Gateway`.
|
|
- **Base URL**: The target API URL (e.g., `http://localhost:11434/v1` for Ollama).
|
|
- **API Key**: The authentication token (use `nokey` if local/unauthenticated).
|
|
4. **Register Models**: Define the list of model IDs and names (e.g., model ID `llama3`, name `Llama 3`) that this provider exposes.
|
|
5. Click **Save**.
|
|
|
|

|
|
_Placeholder: Table view of active AI providers showing their status, built-in badges, and active models._
|