An OpenAI resource is used for AI agents.
configuration:
resources:
- type: "open-ai-configuration"
name: "OpenAI"
configuration:
access-key: "${ secrets.open-ai.access-key }"
secrets:
- id: open-ai
data:
access-key: ${OPEN_AI_ACCESS_KEY}
configuration:
resources:
- type: "open-ai-configuration"
name: "OpenAI Azure"
configuration:
url: "${ secrets.azure-open-ai.url }"
access-key: "${ secrets.azure-open-ai.access-key }"
provider: "azure"
secrets:
- id: azure-open-ai
data:
url: "${AZURE_URL:-https://COMPANY.openai.azure.com}"
access-key: "${AZURE_ACCESS_KEY}"