Skip to main content

Chat

Resource Chat in pulumi-portainer.
2 min read

Resource Chat in pulumi-portainer.

Pulumi type: portainer:index/chat:Chat.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
chatIdstringno
contextstringyesConversation context identifier passed to the Portainer chat assistant.
environmentIdnumberyesIdentifier of the Portainer environment the chat request is scoped to.
messagestringyesUser prompt sent to the Portainer chat assistant.
modelstringnoAI model name used to generate the chat response (defaults to gpt-3.5-turbo).

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
chatIdstringno
contextstringnoConversation context identifier passed to the Portainer chat assistant.
environmentIdnumbernoIdentifier of the Portainer environment the chat request is scoped to.
messagestringnoUser prompt sent to the Portainer chat assistant.
modelstringnoAI model name used to generate the chat response (defaults to gpt-3.5-turbo).
responseMessagestringyesTextual response returned by the Portainer chat assistant.
responseYamlstringyesYAML manifest extracted from the chat response, when applicable.