Module: Aws::BedrockAgentRuntime::Types
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Defined Under Namespace
Classes: AccessDeniedException, ActionGroupInvocationInput, ActionGroupInvocationOutput, ApiInvocationInput, ApiParameter, ApiRequestBody, ApiResult, Attribution, BadGatewayException, ByteContentDoc, ByteContentFile, Citation, CodeInterpreterInvocationInput, CodeInterpreterInvocationOutput, ConflictException, ContentBody, DeleteAgentMemoryRequest, DeleteAgentMemoryResponse, DependencyFailedException, ExternalSource, ExternalSourcesGenerationConfiguration, ExternalSourcesRetrieveAndGenerateConfiguration, FailureTrace, FilePart, FileSource, FilterAttribute, FinalResponse, FlowCompletionEvent, FlowInput, FlowInputContent, FlowOutputContent, FlowOutputEvent, FlowResponseStream, FunctionInvocationInput, FunctionParameter, FunctionResult, GeneratedResponsePart, GenerationConfiguration, GetAgentMemoryRequest, GetAgentMemoryResponse, GuardrailAssessment, GuardrailConfiguration, GuardrailContentFilter, GuardrailContentPolicyAssessment, GuardrailCustomWord, GuardrailManagedWord, GuardrailPiiEntityFilter, GuardrailRegexFilter, GuardrailSensitiveInformationPolicyAssessment, GuardrailTopic, GuardrailTopicPolicyAssessment, GuardrailTrace, GuardrailWordPolicyAssessment, InferenceConfig, InferenceConfiguration, InputFile, InternalServerException, InvocationInput, InvocationInputMember, InvocationResultMember, InvokeAgentRequest, InvokeAgentResponse, InvokeFlowRequest, InvokeFlowResponse, KnowledgeBaseConfiguration, KnowledgeBaseLookupInput, KnowledgeBaseLookupOutput, KnowledgeBaseQuery, KnowledgeBaseRetrievalConfiguration, KnowledgeBaseRetrievalResult, KnowledgeBaseRetrieveAndGenerateConfiguration, KnowledgeBaseVectorSearchConfiguration, Memory, MemorySessionSummary, Metadata, ModelInvocationInput, Observation, OrchestrationConfiguration, OrchestrationModelInvocationOutput, OrchestrationTrace, OutputFile, Parameter, PayloadPart, PostProcessingModelInvocationOutput, PostProcessingParsedResponse, PostProcessingTrace, PreProcessingModelInvocationOutput, PreProcessingParsedResponse, PreProcessingTrace, PromptTemplate, PropertyParameters, QueryTransformationConfiguration, Rationale, RawResponse, RepromptResponse, RequestBody, ResourceNotFoundException, ResponseStream, RetrievalFilter, RetrievalResultConfluenceLocation, RetrievalResultContent, RetrievalResultLocation, RetrievalResultS3Location, RetrievalResultSalesforceLocation, RetrievalResultSharePointLocation, RetrievalResultWebLocation, RetrieveAndGenerateConfiguration, RetrieveAndGenerateInput, RetrieveAndGenerateOutput, RetrieveAndGenerateRequest, RetrieveAndGenerateResponse, RetrieveAndGenerateSessionConfiguration, RetrieveRequest, RetrieveResponse, RetrievedReference, ReturnControlPayload, S3ObjectDoc, S3ObjectFile, ServiceQuotaExceededException, SessionState, Span, TextInferenceConfig, TextResponsePart, ThrottlingException, Trace, TracePart, Usage, ValidationException
Instance Attribute Summary collapse
-
#agent_alias_id ⇒ String
The unique identifier of the alias of the agent.
-
#agent_id ⇒ String
The unique identifier of the agent.
-
#agent_version ⇒ String
The version of the agent.
-
#and_all ⇒ Array<Types::RetrievalFilter>
Knowledge base data sources are returned if their metadata attributes fulfill all the filter conditions inside this list.
-
#api_invocation_input ⇒ Types::ApiInvocationInput
Contains information about the API operation that the agent predicts should be called.
-
#api_result ⇒ Types::ApiResult
The result from the API response from the action group invocation.
-
#attribution ⇒ Types::Attribution
Contains citations for a part of an agent response.
-
#bytes ⇒ String
A part of the agent response in bytes.
-
#completion_reason ⇒ String
The reason that the flow completed.
-
#content ⇒ Types::FlowOutputContent
The content in the output.
-
#document ⇒ Hash, ...
The content in the output.
-
#equals ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value matches thevalue
in this object. -
#failure_trace ⇒ Types::FailureTrace
Contains information about the failure of the interaction.
-
#files ⇒ Array<Types::OutputFile>
Files containing intermediate response for the user.
-
#function_invocation_input ⇒ Types::FunctionInvocationInput
Contains information about the function that the agent predicts should be called.
-
#function_result ⇒ Types::FunctionResult
The result from the function from the action group invocation.
-
#greater_than ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value is greater than thevalue
in this object. -
#greater_than_or_equals ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value is greater than or equal to thevalue
in this object. -
#guardrail_trace ⇒ Types::GuardrailTrace
The trace details for a trace defined in the Guardrail filter.
-
#in ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value is in the list specified in thevalue
in this object. -
#invocation_id ⇒ String
The identifier of the action group invocation.
-
#invocation_input ⇒ Types::InvocationInput
Contains information pertaining to the action group or knowledge base that is being invoked.
-
#invocation_inputs ⇒ Array<Types::InvocationInputMember>
A list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.
-
#less_than ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value is less than thevalue
in this object. -
#less_than_or_equals ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value is less than or equal to thevalue
in this object. -
#list_contains ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value is a list that contains thevalue
as one of its members. -
#message ⇒ String
-
#model_invocation_input ⇒ Types::ModelInvocationInput
The input for the pre-processing step.
-
#model_invocation_output ⇒ Types::PreProcessingModelInvocationOutput
The foundation model output from the pre-processing step.
-
#node_name ⇒ String
The name of the flow output node that the output is from.
-
#node_type ⇒ String
The type of the node that the output is from.
-
#not_equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value doesn't match thevalue
in this object are returned. -
#not_in ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value isn't in the list specified in thevalue
in this object. -
#observation ⇒ Types::Observation
Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.
-
#or_all ⇒ Array<Types::RetrievalFilter>
Knowledge base data sources are returned if their metadata attributes fulfill at least one of the filter conditions inside this list.
-
#orchestration_trace ⇒ Types::OrchestrationTrace
Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
-
#post_processing_trace ⇒ Types::PostProcessingTrace
Details about the post-processing step, in which the agent shapes the response..
-
#pre_processing_trace ⇒ Types::PreProcessingTrace
Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.
-
#rationale ⇒ Types::Rationale
Details about the reasoning, based on the input, that the agent uses to justify carrying out an action group or getting information from a knowledge base.
-
#resource_name ⇒ String
The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.
-
#session_id ⇒ String
The unique identifier of the session with the agent.
-
#session_summary ⇒ Types::MemorySessionSummary
Contains summary of a session.
-
#starts_with ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value starts with thevalue
in this object. -
#string_contains ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata attribute whose name matches the
key
and whose value is one of the following:. -
#trace ⇒ Types::Trace
Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases.
Instance Attribute Details
#agent_alias_id ⇒ String
The unique identifier of the alias of the agent.
3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3819 class TracePart < Struct.new( :agent_alias_id, :agent_id, :agent_version, :session_id, :trace, :event_type) SENSITIVE = [:trace] include Aws::Structure end |
#agent_id ⇒ String
The unique identifier of the agent.
3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3819 class TracePart < Struct.new( :agent_alias_id, :agent_id, :agent_version, :session_id, :trace, :event_type) SENSITIVE = [:trace] include Aws::Structure end |
#agent_version ⇒ String
The version of the agent.
3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3819 class TracePart < Struct.new( :agent_alias_id, :agent_id, :agent_version, :session_id, :trace, :event_type) SENSITIVE = [:trace] include Aws::Structure end |
#and_all ⇒ Array<Types::RetrievalFilter>
Knowledge base data sources are returned if their metadata attributes fulfill all the filter conditions inside this list.
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#api_invocation_input ⇒ Types::ApiInvocationInput
Contains information about the API operation that the agent predicts should be called.
1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1616 class InvocationInputMember < Struct.new( :api_invocation_input, :function_invocation_input, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ApiInvocationInput < InvocationInputMember; end class FunctionInvocationInput < InvocationInputMember; end class Unknown < InvocationInputMember; end end |
#api_result ⇒ Types::ApiResult
The result from the API response from the action group invocation.
1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1657 class InvocationResultMember < Struct.new( :api_result, :function_result, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ApiResult < InvocationResultMember; end class FunctionResult < InvocationResultMember; end class Unknown < InvocationResultMember; end end |
#attribution ⇒ Types::Attribution
Contains citations for a part of an agent response.
2450 2451 2452 2453 2454 2455 2456 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2450 class PayloadPart < Struct.new( :attribution, :bytes, :event_type) SENSITIVE = [:bytes] include Aws::Structure end |
#bytes ⇒ String
A part of the agent response in bytes.
2450 2451 2452 2453 2454 2455 2456 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2450 class PayloadPart < Struct.new( :attribution, :bytes, :event_type) SENSITIVE = [:bytes] include Aws::Structure end |
#completion_reason ⇒ String
The reason that the flow completed.
744 745 746 747 748 749 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 744 class FlowCompletionEvent < Struct.new( :completion_reason, :event_type) SENSITIVE = [] include Aws::Structure end |
#content ⇒ Types::FlowOutputContent
The content in the output.
876 877 878 879 880 881 882 883 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 876 class FlowOutputEvent < Struct.new( :content, :node_name, :node_type, :event_type) SENSITIVE = [] include Aws::Structure end |
#document ⇒ Hash, ...
The content in the output.
807 808 809 810 811 812 813 814 815 816 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 807 class FlowInputContent < Struct.new( :document, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Document < FlowInputContent; end class Unknown < FlowInputContent; end end |
#equals ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value matches the
value
in this object.
The following example would return data sources with an animal
attribute whose value is cat
:
"equals": \{ "key": "animal", "value": "cat" \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#failure_trace ⇒ Types::FailureTrace
Contains information about the failure of the interaction.
3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3760 class Trace < Struct.new( :failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :unknown) SENSITIVE = [:failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace] include Aws::Structure include Aws::Structure::Union class FailureTrace < Trace; end class GuardrailTrace < Trace; end class OrchestrationTrace < Trace; end class PostProcessingTrace < Trace; end class PreProcessingTrace < Trace; end class Unknown < Trace; end end |
#files ⇒ Array<Types::OutputFile>
Files containing intermediate response for the user.
649 650 651 652 653 654 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 649 class FilePart < Struct.new( :files, :event_type) SENSITIVE = [:files] include Aws::Structure end |
#function_invocation_input ⇒ Types::FunctionInvocationInput
Contains information about the function that the agent predicts should be called.
1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1616 class InvocationInputMember < Struct.new( :api_invocation_input, :function_invocation_input, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ApiInvocationInput < InvocationInputMember; end class FunctionInvocationInput < InvocationInputMember; end class Unknown < InvocationInputMember; end end |
#function_result ⇒ Types::FunctionResult
The result from the function from the action group invocation.
1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1657 class InvocationResultMember < Struct.new( :api_result, :function_result, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ApiResult < InvocationResultMember; end class FunctionResult < InvocationResultMember; end class Unknown < InvocationResultMember; end end |
#greater_than ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value is greater
than the value
in this object.
The following example would return data sources with an year
attribute whose value is greater than 1989
:
"greaterThan": \{ "key": "year", "value": 1989 \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#greater_than_or_equals ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value is greater
than or equal to the value
in this object.
The following example would return data sources with an year
attribute whose value is greater than or equal to 1989
:
"greaterThanOrEquals": \{ "key": "year", "value": 1989 \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#guardrail_trace ⇒ Types::GuardrailTrace
The trace details for a trace defined in the Guardrail filter.
3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3760 class Trace < Struct.new( :failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :unknown) SENSITIVE = [:failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace] include Aws::Structure include Aws::Structure::Union class FailureTrace < Trace; end class GuardrailTrace < Trace; end class OrchestrationTrace < Trace; end class PostProcessingTrace < Trace; end class PreProcessingTrace < Trace; end class Unknown < Trace; end end |
#in ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value is in the
list specified in the value
in this object.
The following example would return data sources with an animal
attribute that is either cat
or dog
:
"in": \{ "key": "animal", "value": ["cat", "dog"] \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#invocation_id ⇒ String
The identifier of the action group invocation.
3457 3458 3459 3460 3461 3462 3463 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3457 class ReturnControlPayload < Struct.new( :invocation_id, :invocation_inputs, :event_type) SENSITIVE = [] include Aws::Structure end |
#invocation_input ⇒ Types::InvocationInput
Contains information pertaining to the action group or knowledge base that is being invoked.
2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2370 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#invocation_inputs ⇒ Array<Types::InvocationInputMember>
A list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.
3457 3458 3459 3460 3461 3462 3463 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3457 class ReturnControlPayload < Struct.new( :invocation_id, :invocation_inputs, :event_type) SENSITIVE = [] include Aws::Structure end |
#less_than ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value is less than
the value
in this object.
The following example would return data sources with an year
attribute whose value is less than to 1989
.
"lessThan": \{ "key": "year", "value": 1989 \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#less_than_or_equals ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value is less than
or equal to the value
in this object.
The following example would return data sources with an year
attribute whose value is less than or equal to 1989
.
"lessThanOrEquals": \{ "key": "year", "value": 1989 \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#list_contains ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value is a list
that contains the value
as one of its members.
The following example would return data sources with an animals
attribute that is a list containing a cat
member (for example
["dog", "cat"]
).
"listContains": \{ "key": "animals", "value": "cat" \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#message ⇒ String
21 22 23 24 25 26 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 21 class AccessDeniedException < Struct.new( :message, :event_type) SENSITIVE = [] include Aws::Structure end |
#model_invocation_input ⇒ Types::ModelInvocationInput
The input for the pre-processing step.
The
type
isPRE_PROCESSING
.The
text
contains the prompt.The
inferenceConfiguration
,parserMode
, andoverrideLambda
values are set in the PromptOverrideConfiguration object that was set when the agent was created or updated.
2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2370 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#model_invocation_output ⇒ Types::PreProcessingModelInvocationOutput
The foundation model output from the pre-processing step.
2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2370 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#node_name ⇒ String
The name of the flow output node that the output is from.
876 877 878 879 880 881 882 883 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 876 class FlowOutputEvent < Struct.new( :content, :node_name, :node_type, :event_type) SENSITIVE = [] include Aws::Structure end |
#node_type ⇒ String
The type of the node that the output is from.
876 877 878 879 880 881 882 883 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 876 class FlowOutputEvent < Struct.new( :content, :node_name, :node_type, :event_type) SENSITIVE = [] include Aws::Structure end |
#not_equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value doesn't match the value
in
this object are returned.
The following example would return data sources that don't contain
an animal
attribute whose value is cat
.
"notEquals": \{ "key": "animal", "value": "cat" \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#not_in ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value isn't in the
list specified in the value
in this object.
The following example would return data sources whose animal
attribute is neither cat
nor dog
.
"notIn": \{ "key": "animal", "value": ["cat", "dog"] \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#observation ⇒ Types::Observation
Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.
2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2370 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#or_all ⇒ Array<Types::RetrievalFilter>
Knowledge base data sources are returned if their metadata attributes fulfill at least one of the filter conditions inside this list.
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#orchestration_trace ⇒ Types::OrchestrationTrace
Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3760 class Trace < Struct.new( :failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :unknown) SENSITIVE = [:failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace] include Aws::Structure include Aws::Structure::Union class FailureTrace < Trace; end class GuardrailTrace < Trace; end class OrchestrationTrace < Trace; end class PostProcessingTrace < Trace; end class PreProcessingTrace < Trace; end class Unknown < Trace; end end |
#post_processing_trace ⇒ Types::PostProcessingTrace
Details about the post-processing step, in which the agent shapes the response..
3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3760 class Trace < Struct.new( :failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :unknown) SENSITIVE = [:failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace] include Aws::Structure include Aws::Structure::Union class FailureTrace < Trace; end class GuardrailTrace < Trace; end class OrchestrationTrace < Trace; end class PostProcessingTrace < Trace; end class PreProcessingTrace < Trace; end class Unknown < Trace; end end |
#pre_processing_trace ⇒ Types::PreProcessingTrace
Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.
3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3760 class Trace < Struct.new( :failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :unknown) SENSITIVE = [:failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace] include Aws::Structure include Aws::Structure::Union class FailureTrace < Trace; end class GuardrailTrace < Trace; end class OrchestrationTrace < Trace; end class PostProcessingTrace < Trace; end class PreProcessingTrace < Trace; end class Unknown < Trace; end end |
#rationale ⇒ Types::Rationale
Details about the reasoning, based on the input, that the agent uses to justify carrying out an action group or getting information from a knowledge base.
2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2370 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#resource_name ⇒ String
The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.
309 310 311 312 313 314 315 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 309 class BadGatewayException < Struct.new( :message, :resource_name, :event_type) SENSITIVE = [] include Aws::Structure end |
#session_id ⇒ String
The unique identifier of the session with the agent.
3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3819 class TracePart < Struct.new( :agent_alias_id, :agent_id, :agent_version, :session_id, :trace, :event_type) SENSITIVE = [:trace] include Aws::Structure end |
#session_summary ⇒ Types::MemorySessionSummary
Contains summary of a session.
2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2087 class Memory < Struct.new( :session_summary, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class SessionSummary < Memory; end class Unknown < Memory; end end |
#starts_with ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value starts with
the value
in this object. This filter is currently only supported
for Amazon OpenSearch Serverless vector stores.
The following example would return data sources with an animal
attribute starts with ca
(for example, cat
or camel
).
"startsWith": \{ "key": "animal", "value": "ca" \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#string_contains ⇒ Types::FilterAttribute
Knowledge base data sources are returned if they contain a metadata
attribute whose name matches the key
and whose value is one of the
following:
A string that contains the
value
as a substring. The following example would return data sources with ananimal
attribute that contains the substringat
(for examplecat
)."stringContains": \{ "key": "animal", "value": "at" \}
A list with a member that contains the
value
as a substring. The following example would return data sources with ananimals
attribute that is a list containing a member that contains the substringat
(for example["dog", "cat"]
)."stringContains": \{ "key": "animals", "value": "at" \}
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2953 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :list_contains, :not_equals, :not_in, :or_all, :starts_with, :string_contains, :unknown) SENSITIVE = [:and_all, :or_all] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class ListContains < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class StringContains < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#trace ⇒ Types::Trace
Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3819 class TracePart < Struct.new( :agent_alias_id, :agent_id, :agent_version, :session_id, :trace, :event_type) SENSITIVE = [:trace] include Aws::Structure end |