genAiResource

@JvmName(name = "nmfkxwftgsybbqvq")
suspend fun genAiResource(value: Output<AgentPromptVariantGenAiResourceArgs>)
@JvmName(name = "umjfhyjoaaodcolf")
suspend fun genAiResource(value: AgentPromptVariantGenAiResourceArgs?)

Parameters

value

Specifies a generative AI resource with which to use the prompt. If this is not supplied, then a gen_ai_resource must be defined. See Generative AI Resource for more information.


@JvmName(name = "icfajfslbcetiinq")
suspend fun genAiResource(argument: suspend AgentPromptVariantGenAiResourceArgsBuilder.() -> Unit)

Parameters

argument

Specifies a generative AI resource with which to use the prompt. If this is not supplied, then a gen_ai_resource must be defined. See Generative AI Resource for more information.