AddPromptArg Add a key value pair to the prompt arguments where the key is a string and the value is a JSON serializable.
(key string, value any)
| 45 | // AddPromptArg Add a key value pair to the prompt arguments where the key is a string and |
| 46 | // the value is a JSON serializable. |
| 47 | func (o *PromptObjectOptions) AddPromptArg(key string, value any) { |
| 48 | if o.PromptArgs == nil { |
| 49 | o.PromptArgs = make(map[string]any) |
| 50 | } |
| 51 | o.PromptArgs[key] = value |
| 52 | } |
| 53 | |
| 54 | // AddLambdaArnToReqParams adds the lambdaArn to the request query string parameters. |
| 55 | func (o *PromptObjectOptions) AddLambdaArnToReqParams(lambdaArn string) { |