OpenAI
OpenAI connections enable integration with OpenAI's API for AI-powered playbook actions, automated analysis, and intelligent response generation.
Used By
- AI Action - Use AI for log analysis, incident summarization, and automated troubleshooting
| Field | Description | Scheme |
|---|---|---|
apiKey* | OpenAI API key for authentication | |
model* | OpenAI model to use |
|
url | Optional API endpoint URL |
Examples
OpenAI API
openai-connection.yamlapiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: openai-gpt4
spec:
openai:
model:
value: gpt-4o
apiKey:
valueFrom:
secretKeyRef:
name: openai-credentials
key: API_KEY
Azure OpenAI Service
azure-openai.yamlapiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: azure-openai
spec:
openai:
model:
value: gpt-4
apiKey:
valueFrom:
secretKeyRef:
name: azure-openai-credentials
key: API_KEY
baseURL:
value: https://my-resource.openai.azure.com/openai/deployments/gpt-4