Create a chatbot configuration secret
Create a configuration secret for the intelligent assistant so that you can connect it to the Ansible Automation Platform operator.
Before you begin
Procedure
Examples of chatbot configuration secrets
The following snippet shows a few examples of secrets configuration for different LLM models.
# Example of a secret configuration for Red Hat OpenShift AI
apiVersion: v1
kind: Secret
metadata:
name: chatbot-configuration-secret
namespace: aap
stringData:
chatbot_llm_provider_type: rhoai_vllm
chatbot_url: https://llm-dev-wisdom-model-staging.apps.stage2-west.v2dz.p1.openshiftapps.com/v1
chatbot_model: granite-3.3-8b-instruct
chatbot_token: <token number># Example of a secret configuration for OpenAI
apiVersion: v1
kind: Secret
metadata:
name: chatbot-configuration-secret
namespace: aap
stringData:
chatbot_llm_provider_type: openai
chatbot_url: https://api.openai.com/v1
chatbot_model: gpt-4o-mini
chatbot_token: <token number># Example of a secret configuration for Microsoft Azure OpenAI
apiVersion: v1
kind: Secret
metadata:
name: chatbot-configuration-secret
namespace: aap
stringData:
chatbot_llm_provider_type: azure_openai
chatbot_url: https://ols-test.openai.azure.com
chatbot_model: gpt-4o-mini
chatbot_token: <token number>
chatbot_model_config_extras: '{"api_version": "2025-01-01-preview"}'