Este conteúdo não está disponível em sua língua ainda.
AI Providers
AI providers enable the integration of AI agents into Sentinel for advanced data classification and analysis.
Currently supported features:
If you do not plan to use the feature listed above, you can skip configuring an AI provider.
Supported Providers
Sentinel supports the following AI providers:
- Anthropic
- Azure OpenAI
- Google Generative AI
- Mistral
- Ollama
- OpenAI
Configuration
Configure your AI provider using the following environment variables:
AI_PROVIDER
: The name of the provider. Supported values:anthropic
,azure
,google
,mistral
,ollama
,openai
AI_PROVIDER_MODEL
: The name of the model (e.g.,gpt-4-turbo
)AI_PROVIDER_OPTIONS
: A JSON-encoded string of additional options, including your API key and optional settings likebaseURL
.
Example Configuration
AI_PROVIDER=mistralAI_PROVIDER_MODEL=mistral-large-latestAI_PROVIDER_OPTIONS={"apiKey":"abc123..."}
To specify a custom base URL:
AI_PROVIDER_OPTIONS={"apiKey":"abc123...","baseURL":"https://api.openai.com/v1"}
Provider-Specific Options
Common Options
apiKey
: API key for accessing the provider’s service.baseURL
: (Optional) Custom API endpoint.
Azure OpenAI
resourceName
: The Azure resource name. Used to construct the base URL in the format:https://{resourceName}.openai.azure.com
OpenAI
organization
: (Optional) OpenAI organization ID.project
: (Optional) OpenAI project ID.compatibility
: Set tocompatible
if using a third-party provider that implements the OpenAI API.