asChat
Casts this PromptTemplateConfiguration as a Chat and retrieves its aws.sdk.kotlin.services.bedrockagent.model.ChatPromptTemplateConfiguration value. Throws an exception if the PromptTemplateConfiguration is not a Chat.
Casts this PromptTemplateConfiguration as a Chat and retrieves its aws.sdk.kotlin.services.bedrockagent.model.ChatPromptTemplateConfiguration value. Throws an exception if the PromptTemplateConfiguration is not a Chat.