Skip to content

Commit

Permalink
chore: small updates to model provider docs
Browse files Browse the repository at this point in the history
Remove the deployment name environment variable for Azure OpenAI, and
add Ollama as a supported model provider.

Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Nov 20, 2024
1 parent fd072b4 commit e47684b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docs/docs/02-concepts/07-models.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Models

A model is an AI program that has been trained on data to perform taks, recognize patterns, and make decisions. Popular examples include OpenAI's GPT-4o and Anthropic's Claude 3.5 Sonnet.
A model is an AI program that has been trained on data to perform tasks, recognize patterns, and make decisions. Popular examples include OpenAI's GPT-4o and Anthropic's Claude 3.5 Sonnet.

Otto8 comes with popular models for OpenAI preconfigured, but admins can modify them or create new ones. Agents, workflows, and tools can specify what model they should use. If they do not specify one, the system default model is used.
Otto8 comes with popular models for OpenAI preconfigured, but admins can modify them or create new ones. Agents, workflows, and tools can specify what model they should use. If they do not specify one, the system's default model is used.

To create a model for a provider other than OpenAI, you must first enable the corresponding **Model Provider**. Otto8 currently supports three model providers:
To create a model for a provider other than OpenAI, you must first enable the corresponding **Model Provider**. Otto8 currently supports four model providers:
- OpenAI
- Azure OpenAI
- Anthropic
- Ollama

You can learn more about how to configure Model providers in our [Model Provider Configuration Guide](/configuration/model-providers)
5 changes: 4 additions & 1 deletion docs/docs/04-configuration/02-model-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ The OpenAI model provider is the default and is configured by either setting `OP

The Azure OpenAI model provider requires setting the following environment variables:
- `OTTO8_AZURE_OPENAI_MODEL_PROVIDER_API_KEY`: Found on the "Home" page of the Azure OpenAI Studio.
- `OTTO8_AZURE_OPENAI_MODEL_PROVIDER_DEPLOYMENT_NAME`: The name of the deployment to use, found on the "Deployments" page of the Azure OpenAI Studio.
- `OTTO8_AZURE_OPENAI_MODEL_PROVIDER_ENDPOINT`: The endpoint to use, found by clicking on the "Deployment" name from the "Deployments" page of the Azure OpenAI Studio.

:::note
When configuring models with the Azure OpenAI provider in Otto8, the "Target Model" should be the "Deployment" from Azure.
:::

## Anthropic

The Anthropic model provider requires setting the `OTTO8_ANTHROPIC_MODEL_PROVIDER_API_KEY` environment variable. You can get an API key for your Anthropic account [here](https://console.anthropic.com/settings/keys).
Expand Down

0 comments on commit e47684b

Please sign in to comment.