第 3 章 设置 Red Hat Ansible Lightspeed
作为红帽客户门户网站管理员,您必须配置 Red Hat Ansible Lightspeed 以连接到您的 IBM watsonx Code Assistant 实例。本章提供有关配置 Red Hat Ansible Lightspeed 云服务和内部部署的信息。
3.1. 配置要求
要将 Red Hat Ansible Lightspeed 与 IBM watsonx Code Assistant 搭配使用,您的机构必须具有以下订阅:
- Red Hat Ansible Automation Platform 的试用或付费订阅
- IBM watsonx Code Assistant 的试用或付费订阅
您需要以下 IBM watsonx Code Assistant 信息:
API 密钥
唯一的 API 密钥验证从 Red Hat Ansible Lightspeed 向 IBM watsonx Code Assistant 发出的所有请求。每个具有有效 Ansible Automation Platform 订阅的红帽机构都必须有一个配置的 API 密钥。当经过身份验证的 RH-SSO 用户在 Red Hat Ansible Lightspeed 中创建任务请求时,与用户的红帽机构关联的 API 密钥用于验证对 IBM watsonx Code Assistant 的请求。
模型 ID
唯一的模型 ID 会在 IBM Cloud 帐户中标识 IBM watsonx Code Assistant 模型。您在 Ansible Lightspeed 管理员门户中配置的模型 ID 用作默认模型,可以被您的机构中的所有 Ansible Lightspeed 用户访问。
在最初配置 Red Hat Ansible Lightspeed 时,您必须配置 API 密钥和模型 ID。