-
Notifications
You must be signed in to change notification settings - Fork 772
Reference Models Centrally, set OpenAI Model to gpt-5-nano and Updated Spec Defaults #4608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v1.15
Are you sure you want to change the base?
Conversation
@giterinhub - Is there a corresponding code issue tracking this that you are aware of? |
Created dapr/components-contrib#3792 |
No issue I'm aware of, just created the PR. Thanks for the good time at the Boom Battle Mark! |
@giterinhub - Can you review this PR now the code is in. In particular can you address
|
…xamples - Add and document runtime env vars: OPENAI_MODEL, AZURE_OPENAI_MODEL, ANTHROPIC_MODEL, GOOGLEAI_MODEL, MISTRAL_MODEL, HUGGINGFACE_MODEL, OLLAMA_MODEL (with defaults) - Update environment reference page with the new env var names and defaults - Replace env-var placeholders in component YAML examples with literal default model names for OpenAI, GoogleAI, Anthropic, Mistral, Hugging Face and Ollama - Add "(configurable via '<ENV>' environment variable)" to each provider's Spec metadata table to show override option - Add Azure OpenAI usage section to `conversation.openai` doc (how to use `apiType: azure` and `AZURE_OPENAI_MODEL`) - Clarify AWS Bedrock uses standard AWS auth (no Bedrock-specific env var added) - Fix small markdown lint issues (trailing newlines/whitespace) Signed-off-by: Erin La <[email protected]>
Description
The new default model for OpenAI is gpt-4o, but gpt-4o-mini is much cheaper and should be the default. This change only updates the documentation, but the change from 4-o to 4-o-mini should also be applied in https://github.com/dapr/components-contrib/blob/main/conversation/openai/metadata.yaml (currently incorrectly on 4-turbo)