Skip to content

Commit

Permalink
✨ Update Azure model deployment and candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 21, 2024
1 parent 6715b5f commit 5c025ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/src/content/docs/getting-started/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ For non-OpenAI models deployed on `.models.ai.azure.com`,
you can keep the same `AZURE_INFERENCE_ENDPOINT` and GenAIScript will automatically update the endpoint
with the deployment id name.

For OpenAI models deployed on `.openai.azure.com`, you can also keep the same deployment name.

### API Key

<Steps>
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,16 @@ export const LARGE_MODEL_ID = "large"
export const DEFAULT_MODEL = "openai:gpt-4o"
export const DEFAULT_MODEL_CANDIDATES = [
"azure:gpt-4o",
"azure-serverless:gpt-4o",
DEFAULT_MODEL,
"github:gpt-4o",
"client:gpt-4",
"anthropic:claude-2",
"client:gpt-4",
]
export const DEFAULT_SMALL_MODEL = "openai:gpt-4o-mini"
export const DEFAULT_SMALL_MODEL_CANDIDATES = [
"azure:gpt-4o-mini",
"azure-serverless:gpt-4o-mini",
DEFAULT_SMALL_MODEL,
"github:gpt-4o-mini",
"client:gpt-4-mini",
Expand Down

0 comments on commit 5c025ac

Please sign in to comment.