You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

model_config_template.yaml 976 B

1234567891011121314151617181920212223242526
  1. # Use Open AI with key
  2. provider: autogen_ext.models.openai.OpenAIChatCompletionClient
  3. config:
  4. model: gpt-4o
  5. api_key: REPLACE_WITH_YOUR_API_KEY
  6. # Use Azure Open AI with key
  7. # provider: autogen_ext.models.openai.AzureOpenAIChatCompletionClient
  8. # config:
  9. # model: gpt-4o
  10. # azure_endpoint: https://{your-custom-endpoint}.openai.azure.com/
  11. # azure_deployment: {your-azure-deployment}
  12. # api_version: {your-api-version}
  13. # api_key: REPLACE_WITH_YOUR_API_KEY
  14. # Use Azure OpenAI with AD token provider.
  15. # provider: autogen_ext.models.openai.AzureOpenAIChatCompletionClient
  16. # config:
  17. # model: gpt-4o
  18. # azure_endpoint: https://{your-custom-endpoint}.openai.azure.com/
  19. # azure_deployment: {your-azure-deployment}
  20. # api_version: {your-api-version}
  21. # azure_ad_token_provider:
  22. # provider: autogen_ext.auth.azure.AzureTokenProvider
  23. # config:
  24. # provider_kind: DefaultAzureCredential
  25. # scopes:
  26. # - https://cognitiveservices.azure.com/.default