Skip to main content

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
FieldDescriptionScheme
apiKey*

OpenAI API key for authentication

EnvVar

model*

OpenAI model to use

string

url

Optional API endpoint URL

EnvVar

Examples

OpenAI API
openai-connection.yaml
apiVersion: 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.yaml
apiVersion: 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