MCPcopy
hub / github.com/minio/minio-go / AddPromptArg

Method AddPromptArg

api-prompt-options.go:47–52  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.
47func (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.
55func (o *PromptObjectOptions) AddLambdaArnToReqParams(lambdaArn string) {

Callers 1

PromptObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected