Closed as not planned
Closed as not planned
Description
Describe the issue
The description of ParserMode
is Creation Mode for Prompt Configuration.
and it is not suitable. This should be like Creation Mode for parser Lambda function.
I tried to fix this by editing codegen/sdk-codegen/aws-models/bedrock-agent.json
and generating codes but the PR template says I should create an issue first when I fix this.
--- a/codegen/sdk-codegen/aws-models/bedrock-agent.json
+++ b/codegen/sdk-codegen/aws-models/bedrock-agent.json
@@ -2366,9 +2366,6 @@
"smithy.api#enumValue": "OVERRIDDEN"
}
}
- },
- "traits": {
- "smithy.api#documentation": "Creation Mode for Prompt Configuration."
}
},
"com.amazonaws.bedrockagent#DataSource": {
@@ -5618,7 +5615,10 @@
"target": "com.amazonaws.bedrockagent#PromptType"
},
"promptCreationMode": {
- "target": "com.amazonaws.bedrockagent#CreationMode"
+ "target": "com.amazonaws.bedrockagent#CreationMode",
+ "traits": {
+ "smithy.api#documentation": "Creation Mode for Prompt Configuration."
+ }
},
"promptState": {
"target": "com.amazonaws.bedrockagent#PromptState"
@@ -5630,7 +5630,10 @@
"target": "com.amazonaws.bedrockagent#InferenceConfiguration"
},
"parserMode": {
- "target": "com.amazonaws.bedrockagent#CreationMode"
+ "target": "com.amazonaws.bedrockagent#CreationMode",
+ "traits": {
+ "smithy.api#documentation": "Creation Mode for parser Lambda function."
+ }
}
},
Links
https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]/types#PromptConfiguration
type PromptConfiguration struct {
// Base Prompt Template.
BasePromptTemplate *[string](https://pkg.go.dev/builtin#string)
// Configuration for inference in prompt configuration
[InferenceConfiguration](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]/types#InferenceConfiguration) *InferenceConfiguration
// Creation Mode for Prompt Configuration.
ParserMode [CreationMode](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]/types#CreationMode)
// Creation Mode for Prompt Configuration.
Prompt[CreationMode](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]/types#CreationMode) CreationMode
// Prompt State.
[PromptState](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]/types#PromptState) PromptState
// Prompt Type.
[PromptType](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]/types#PromptType) PromptType
// contains filtered or unexported fields
}
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2/service/[email protected]
Activity