Awso_bedrock_agent_runtime_syncSourceval create_invocation :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.CreateInvocationRequest.t ->
(Awso_bedrock_agent_runtime.Values.CreateInvocationResponse.t,
Awso_bedrock_agent_runtime.Values.CreateInvocationResponse.error)
Result.tval create_session :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.CreateSessionRequest.t ->
(Awso_bedrock_agent_runtime.Values.CreateSessionResponse.t,
Awso_bedrock_agent_runtime.Values.CreateSessionResponse.error)
Result.tval delete_agent_memory :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.DeleteAgentMemoryRequest.t ->
(Awso_bedrock_agent_runtime.Values.DeleteAgentMemoryResponse.t,
Awso_bedrock_agent_runtime.Values.DeleteAgentMemoryResponse.error)
Result.tval delete_session :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.DeleteSessionRequest.t ->
(Awso_bedrock_agent_runtime.Values.DeleteSessionResponse.t,
Awso_bedrock_agent_runtime.Values.DeleteSessionResponse.error)
Result.tval end_session :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.EndSessionRequest.t ->
(Awso_bedrock_agent_runtime.Values.EndSessionResponse.t,
Awso_bedrock_agent_runtime.Values.EndSessionResponse.error)
Result.tval generate_query :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.GenerateQueryRequest.t ->
(Awso_bedrock_agent_runtime.Values.GenerateQueryResponse.t,
Awso_bedrock_agent_runtime.Values.GenerateQueryResponse.error)
Result.tval get_agent_memory :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.GetAgentMemoryRequest.t ->
(Awso_bedrock_agent_runtime.Values.GetAgentMemoryResponse.t,
Awso_bedrock_agent_runtime.Values.GetAgentMemoryResponse.error)
Result.tval get_execution_flow_snapshot :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.GetExecutionFlowSnapshotRequest.t ->
(Awso_bedrock_agent_runtime.Values.GetExecutionFlowSnapshotResponse.t,
Awso_bedrock_agent_runtime.Values.GetExecutionFlowSnapshotResponse.error)
Result.tval get_flow_execution :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.GetFlowExecutionRequest.t ->
(Awso_bedrock_agent_runtime.Values.GetFlowExecutionResponse.t,
Awso_bedrock_agent_runtime.Values.GetFlowExecutionResponse.error)
Result.tval get_invocation_step :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.GetInvocationStepRequest.t ->
(Awso_bedrock_agent_runtime.Values.GetInvocationStepResponse.t,
Awso_bedrock_agent_runtime.Values.GetInvocationStepResponse.error)
Result.tval get_session :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.GetSessionRequest.t ->
(Awso_bedrock_agent_runtime.Values.GetSessionResponse.t,
Awso_bedrock_agent_runtime.Values.GetSessionResponse.error)
Result.tval invoke_agent :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.InvokeAgentRequest.t ->
(Awso_bedrock_agent_runtime.Values.InvokeAgentResponse.t,
Awso_bedrock_agent_runtime.Values.InvokeAgentResponse.error)
Result.tval invoke_flow :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.InvokeFlowRequest.t ->
(Awso_bedrock_agent_runtime.Values.InvokeFlowResponse.t,
Awso_bedrock_agent_runtime.Values.InvokeFlowResponse.error)
Result.tval invoke_inline_agent :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.InvokeInlineAgentRequest.t ->
(Awso_bedrock_agent_runtime.Values.InvokeInlineAgentResponse.t,
Awso_bedrock_agent_runtime.Values.InvokeInlineAgentResponse.error)
Result.tval list_flow_execution_events :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.ListFlowExecutionEventsRequest.t ->
(Awso_bedrock_agent_runtime.Values.ListFlowExecutionEventsResponse.t,
Awso_bedrock_agent_runtime.Values.ListFlowExecutionEventsResponse.error)
Result.tval list_flow_executions :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.ListFlowExecutionsRequest.t ->
(Awso_bedrock_agent_runtime.Values.ListFlowExecutionsResponse.t,
Awso_bedrock_agent_runtime.Values.ListFlowExecutionsResponse.error)
Result.tval list_invocation_steps :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.ListInvocationStepsRequest.t ->
(Awso_bedrock_agent_runtime.Values.ListInvocationStepsResponse.t,
Awso_bedrock_agent_runtime.Values.ListInvocationStepsResponse.error)
Result.tval list_invocations :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.ListInvocationsRequest.t ->
(Awso_bedrock_agent_runtime.Values.ListInvocationsResponse.t,
Awso_bedrock_agent_runtime.Values.ListInvocationsResponse.error)
Result.tval list_sessions :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.ListSessionsRequest.t ->
(Awso_bedrock_agent_runtime.Values.ListSessionsResponse.t,
Awso_bedrock_agent_runtime.Values.ListSessionsResponse.error)
Result.tval list_tags_for_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.ListTagsForResourceRequest.t ->
(Awso_bedrock_agent_runtime.Values.ListTagsForResourceResponse.t,
Awso_bedrock_agent_runtime.Values.ListTagsForResourceResponse.error)
Result.tval optimize_prompt :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.OptimizePromptRequest.t ->
(Awso_bedrock_agent_runtime.Values.OptimizePromptResponse.t,
Awso_bedrock_agent_runtime.Values.OptimizePromptResponse.error)
Result.tval put_invocation_step :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.PutInvocationStepRequest.t ->
(Awso_bedrock_agent_runtime.Values.PutInvocationStepResponse.t,
Awso_bedrock_agent_runtime.Values.PutInvocationStepResponse.error)
Result.tval rerank :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.RerankRequest.t ->
(Awso_bedrock_agent_runtime.Values.RerankResponse.t,
Awso_bedrock_agent_runtime.Values.RerankResponse.error)
Result.tval retrieve :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.RetrieveRequest.t ->
(Awso_bedrock_agent_runtime.Values.RetrieveResponse.t,
Awso_bedrock_agent_runtime.Values.RetrieveResponse.error)
Result.tval retrieve_and_generate :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateRequest.t ->
(Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateResponse.t,
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateResponse.error)
Result.tval retrieve_and_generate_stream :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateStreamRequest.t ->
(Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateStreamResponse.t,
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateStreamResponse.error)
Result.tval start_flow_execution :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.StartFlowExecutionRequest.t ->
(Awso_bedrock_agent_runtime.Values.StartFlowExecutionResponse.t,
Awso_bedrock_agent_runtime.Values.StartFlowExecutionResponse.error)
Result.tval stop_flow_execution :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.StopFlowExecutionRequest.t ->
(Awso_bedrock_agent_runtime.Values.StopFlowExecutionResponse.t,
Awso_bedrock_agent_runtime.Values.StopFlowExecutionResponse.error)
Result.tval tag_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.TagResourceRequest.t ->
(Awso_bedrock_agent_runtime.Values.TagResourceResponse.t,
Awso_bedrock_agent_runtime.Values.TagResourceResponse.error)
Result.tval untag_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.UntagResourceRequest.t ->
(Awso_bedrock_agent_runtime.Values.UntagResourceResponse.t,
Awso_bedrock_agent_runtime.Values.UntagResourceResponse.error)
Result.tval update_session :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_bedrock_agent_runtime.Values.UpdateSessionRequest.t ->
(Awso_bedrock_agent_runtime.Values.UpdateSessionResponse.t,
Awso_bedrock_agent_runtime.Values.UpdateSessionResponse.error)
Result.tinclude module type of struct include Awso_bedrock_agent_runtime.Values endval structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]The identifier information for an Amazon S3 bucket.
Contains details about the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas. You can either include the schema directly in the payload field or you can upload it to an S3 bucket and specify the S3 bucket location in the s3 field.
The request is denied because of missing access permissions. Check your permissions and retry your request.
Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
A parameter for the API request or function.
The parameters in the API request body.
module ActionGroupInvocationInput =
Awso_bedrock_agent_runtime.Values.ActionGroupInvocationInputContains information about the action group being invoked. For more information about the possible structures, see the InvocationInput tab in OrchestrationTrace in the Amazon Bedrock User Guide.
Contains information of the usage of the foundation model.
module SyntheticTimestamp_date_time =
Awso_bedrock_agent_runtime.Values.SyntheticTimestamp_date_timeProvides information about the execution process for different types of invocations, such as model invocation, knowledge base invocation, agent collaborator invocation, guardrail invocation, and code interpreter Invocation.
module ActionGroupInvocationOutput =
Awso_bedrock_agent_runtime.Values.ActionGroupInvocationOutputContains the JSON-formatted string returned by the API invoked by the action group.
module ActionGroupSignatureParamsValueString =
Awso_bedrock_agent_runtime.Values.ActionGroupSignatureParamsValueStringmodule ActionGroupSignatureParamsKeyString =
Awso_bedrock_agent_runtime.Values.ActionGroupSignatureParamsKeyStringmodule ActionGroupSignatureParams =
Awso_bedrock_agent_runtime.Values.ActionGroupSignatureParamsmodule AdditionalModelRequestFieldsValue =
Awso_bedrock_agent_runtime.Values.AdditionalModelRequestFieldsValuemodule AdditionalModelRequestFieldsKey =
Awso_bedrock_agent_runtime.Values.AdditionalModelRequestFieldsKeymodule AdditionalModelRequestFields =
Awso_bedrock_agent_runtime.Values.AdditionalModelRequestFields/ @documentation("Description of the using the resource.")
Contains details about a parameter in a function for an action group.
Defines parameters that the agent needs to invoke from the user to complete the function. Corresponds to an action in an action group.
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
Contains details of the inline agent's action group.
module ImageInputSourceBytesBlob =
Awso_bedrock_agent_runtime.Values.ImageInputSourceBytesBlobDetails about the source of an input image in the result from a function in the action group invocation.
Details about an image in the result from a function in the action group invocation. You can specify images only when the function is a computer use action. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools.
Contains the body of the API response. This data type is used in the following API operations: In the returnControlInvocationResults field of the InvokeAgent request
Contains information about the function that was called from the action group and the response that was returned. This data type is used in the following API operations: In the returnControlInvocationResults of the InvokeAgent request
Contains information about the API operation that was called from the action group and the response body that was returned. This data type is used in the following API operations: In the returnControlInvocationResults of the InvokeAgent request
A result from the invocation of an action. For more information, see Return control to the agent developer and Control session context. This data type is used in the following API operations: InvokeAgent request
module ReturnControlInvocationResults =
Awso_bedrock_agent_runtime.Values.ReturnControlInvocationResultsAn action invocation result.
module AgentCollaboratorPayloadString =
Awso_bedrock_agent_runtime.Values.AgentCollaboratorPayloadStringmodule AgentCollaboratorInputPayload =
Awso_bedrock_agent_runtime.Values.AgentCollaboratorInputPayloadInput for an agent collaborator. The input can be text or an action invocation result.
module AgentCollaboratorInvocationInput =
Awso_bedrock_agent_runtime.Values.AgentCollaboratorInvocationInputAn agent collaborator invocation input.
Contains information about a parameter of the function. This data type is used in the following API operations: In the returnControl field of the InvokeAgent response
Contains information about the function that the agent predicts should be called. This data type is used in the following API operations: In the returnControl field of the InvokeAgent response
Contains the parameters in the request body.
The request body to provide for the API request, as the agent elicited from the user. This data type is used in the following API operations: InvokeAgent response
Information about a parameter to provide to the API request. This data type is used in the following API operations: InvokeAgent response
Contains information about the API operation that the agent predicts should be called. This data type is used in the following API operations: In the returnControl field of the InvokeAgent response
Contains details about the API operation or function that the agent predicts should be called. This data type is used in the following API operations: In the returnControl field of the InvokeAgent response
Contains information to return from the action group that the agent has predicted to invoke. This data type is used in the following API operations: InvokeAgent response
module AgentCollaboratorOutputPayload =
Awso_bedrock_agent_runtime.Values.AgentCollaboratorOutputPayloadOutput from an agent collaborator. The output can be text or an action invocation result.
module AgentCollaboratorInvocationOutput =
Awso_bedrock_agent_runtime.Values.AgentCollaboratorInvocationOutputOutput from an agent collaborator.
Contains the raw output from the foundation model.
module RoutingClassifierModelInvocationOutput =
Awso_bedrock_agent_runtime.Values.RoutingClassifierModelInvocationOutputInvocation output from a routing classifier model.
Contains details about the agent's response to reprompt the input.
module RetrievalResultMetadataValue =
Awso_bedrock_agent_runtime.Values.RetrievalResultMetadataValuemodule RetrievalResultMetadataKey =
Awso_bedrock_agent_runtime.Values.RetrievalResultMetadataKeymodule RetrievalResultWebLocation =
Awso_bedrock_agent_runtime.Values.RetrievalResultWebLocationThe web URL/URLs data source location.
module RetrievalResultSqlLocation =
Awso_bedrock_agent_runtime.Values.RetrievalResultSqlLocationContains information about the SQL query used to retrieve the result.
The SharePoint data source location.
module RetrievalResultSalesforceLocation =
Awso_bedrock_agent_runtime.Values.RetrievalResultSalesforceLocationThe Salesforce data source location.
module RetrievalResultS3Location =
Awso_bedrock_agent_runtime.Values.RetrievalResultS3LocationThe S3 data source location. This data type is used in the following API operations: Retrieve response – in the s3Location field RetrieveAndGenerate response – in the s3Location field InvokeAgent response – in the s3Location field
module RetrievalResultLocationType =
Awso_bedrock_agent_runtime.Values.RetrievalResultLocationTypemodule RetrievalResultKendraDocumentLocation =
Awso_bedrock_agent_runtime.Values.RetrievalResultKendraDocumentLocationThe location of a result in Amazon Kendra.
module RetrievalResultCustomDocumentLocation =
Awso_bedrock_agent_runtime.Values.RetrievalResultCustomDocumentLocationContains information about the location of a document in a custom data source.
module RetrievalResultConfluenceLocation =
Awso_bedrock_agent_runtime.Values.RetrievalResultConfluenceLocationThe Confluence data source location.
Contains information about the data source location. This data type is used in the following API operations: Retrieve response – in the location field RetrieveAndGenerate response – in the location field InvokeAgent response – in the location field
Contains information about a video segment retrieved from a knowledge base, including its location and summary. This data type is used in the following API operations: Retrieve response – in the video field
module RetrievalResultContentType =
Awso_bedrock_agent_runtime.Values.RetrievalResultContentTypemodule RetrievalResultContentColumnType =
Awso_bedrock_agent_runtime.Values.RetrievalResultContentColumnTypemodule RetrievalResultContentColumn =
Awso_bedrock_agent_runtime.Values.RetrievalResultContentColumnContains information about a column with a cell to return in retrieval.
module RetrievalResultContentRow =
Awso_bedrock_agent_runtime.Values.RetrievalResultContentRowContains information about an audio segment retrieved from a knowledge base, including its location and transcription. This data type is used in the following API operations: Retrieve response – in the audio field
Contains information about a chunk of text from a data source in the knowledge base. If the result is from a structured data source, the cell in the database and the type of the value is also identified. This data type is used in the following API operations: Retrieve response – in the content field RetrieveAndGenerate response – in the content field InvokeAgent response – in the content field
Contains metadata about a source cited for the generated response. This data type is used in the following API operations: RetrieveAndGenerate response – in the retrievedReferences field InvokeAgent response – in the retrievedReferences field
module KnowledgeBaseLookupOutput =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseLookupOutputContains details about the results from looking up the knowledge base.
Contains details about the response to the user.
module CodeInterpreterInvocationOutput =
Awso_bedrock_agent_runtime.Values.CodeInterpreterInvocationOutputContains the JSON-formatted string returned by the API invoked by the code interpreter.
Contains the result or output of an action group or knowledge base, or the response to the user.
Specifications about the inference parameters that were provided alongside the prompt. These are specified in the PromptOverrideConfiguration object that was set when the agent was created or updated. For more information, see Inference parameters for foundation models.
The input for the pre-processing step. The type matches the agent step. The text contains the prompt. The inferenceConfiguration, parserMode, and overrideLambda values are set in the PromptOverrideConfiguration object that was set when the agent was created or updated.
module KnowledgeBaseLookupInputString =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseLookupInputStringContains details about the knowledge base to look up and the query to be made.
module CodeInterpreterInvocationInput =
Awso_bedrock_agent_runtime.Values.CodeInterpreterInvocationInputContains information about the code interpreter being invoked.
Contains information pertaining to the action group or knowledge base that is being invoked.
A trace for a routing classifier.
Contains information about the reasoning that the model used to return the content in the content block.
Contains content regarding the reasoning that the foundation model made with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.
module PreProcessingParsedResponse =
Awso_bedrock_agent_runtime.Values.PreProcessingParsedResponseDetails about the response from the Lambda parsing of the output from the pre-processing step.
module PreProcessingModelInvocationOutput =
Awso_bedrock_agent_runtime.Values.PreProcessingModelInvocationOutputThe foundation model output from the pre-processing step.
Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.
module PostProcessingParsedResponse =
Awso_bedrock_agent_runtime.Values.PostProcessingParsedResponseDetails about the response from the Lambda parsing of the output from the post-processing step.
module PostProcessingModelInvocationOutput =
Awso_bedrock_agent_runtime.Values.PostProcessingModelInvocationOutputThe foundation model output from the post-processing step.
Details about the post-processing step, in which the agent shapes the response.
Contains the reasoning, based on the input, that the agent uses to justify carrying out an action group or getting information from a knowledge base.
module OrchestrationModelInvocationOutput =
Awso_bedrock_agent_runtime.Values.OrchestrationModelInvocationOutputThe foundation model output from the orchestration step.
Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
module GuardrailWordPolicyAction =
Awso_bedrock_agent_runtime.Values.GuardrailWordPolicyActionThe managed word details for the filter in the Guardrail.
The custom word details for the filter in the Guardrail.
module GuardrailWordPolicyAssessment =
Awso_bedrock_agent_runtime.Values.GuardrailWordPolicyAssessmentThe assessment details for words defined in the Guardrail filter.
module GuardrailTopicPolicyAction =
Awso_bedrock_agent_runtime.Values.GuardrailTopicPolicyActionThe details for a specific topic defined in the Guardrail.
module GuardrailTopicPolicyAssessment =
Awso_bedrock_agent_runtime.Values.GuardrailTopicPolicyAssessmentThe details of the policy assessment used in the Guardrail.
module GuardrailSensitiveInformationPolicyAction =
Awso_bedrock_agent_runtime.Values.GuardrailSensitiveInformationPolicyActionThe details for the regex filter used in the Guardrail.
The Guardrail filter to identify and remove personally identifiable information (PII).
module GuardrailPiiEntityFilterList =
Awso_bedrock_agent_runtime.Values.GuardrailPiiEntityFilterListmodule GuardrailSensitiveInformationPolicyAssessment =
Awso_bedrock_agent_runtime.Values.GuardrailSensitiveInformationPolicyAssessmentThe details of the sensitive policy assessment used in the Guardrail.
module GuardrailContentPolicyAction =
Awso_bedrock_agent_runtime.Values.GuardrailContentPolicyActionmodule GuardrailContentFilterType =
Awso_bedrock_agent_runtime.Values.GuardrailContentFilterTypemodule GuardrailContentFilterConfidence =
Awso_bedrock_agent_runtime.Values.GuardrailContentFilterConfidenceDetails of the content filter used in the Guardrail.
module GuardrailContentFilterList =
Awso_bedrock_agent_runtime.Values.GuardrailContentFilterListmodule GuardrailContentPolicyAssessment =
Awso_bedrock_agent_runtime.Values.GuardrailContentPolicyAssessmentThe details of the policy assessment in the Guardrails filter.
Assessment details of the content analyzed by Guardrails.
The trace details used in the Guardrail.
Contains information about the failure of the interaction.
module CustomOrchestrationTraceEvent =
Awso_bedrock_agent_runtime.Values.CustomOrchestrationTraceEventThe event in the custom orchestration sequence. Events are the responses which the custom orchestration Lambda function sends as response to the agent.
The trace behavior for the custom orchestration.
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.
Details about a caller.
Contains information about the agent and session, alongside the agent's reasoning process and results from calling API actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
An event in which the prompt was analyzed in preparation for optimization.
Contains information about where the text with a citation begins and ends in the generated output. This data type is used in the following API operations: RetrieveAndGenerate response – in the span field InvokeAgent response – in the span field
Contains the part of the generated text that contains a citation, alongside where it begins and ends. This data type is used in the following API operations: RetrieveAndGenerate response – in the textResponsePart field InvokeAgent response – in the textResponsePart field
Contains metadata about a part of the generated response that is accompanied by a citation. This data type is used in the following API operations: InvokeAgent response – in the generatedResponsePart field RetrieveAndGenerate response – in the generatedResponsePart field
An object containing a segment of the generated response that is based on a source in the knowledge base, alongside information about the source. This data type is used in the following API operations: InvokeAgent response – in the citations field RetrieveAndGenerate response – in the citations field
Contains citations for a part of an agent response.
There was an issue with a dependency due to a server issue. Retry your request.
Performance settings for a model.
module BedrockModelConfigurations =
Awso_bedrock_agent_runtime.Values.BedrockModelConfigurationsSettings for a model called with InvokeAgent.
module BedrockRerankingModelConfiguration =
Awso_bedrock_agent_runtime.Values.BedrockRerankingModelConfigurationContains configurations for a reranker model.
module BedrockRerankingConfigurationNumberOfResultsInteger =
Awso_bedrock_agent_runtime.Values.BedrockRerankingConfigurationNumberOfResultsIntegermodule BedrockRerankingConfiguration =
Awso_bedrock_agent_runtime.Values.BedrockRerankingConfigurationContains configurations for an Amazon Bedrock reranker model.
Information about the Amazon S3 bucket where the image is stored.
The source for an image.
Image content for an invocation step.
module BedrockSessionContentBlockTextString =
Awso_bedrock_agent_runtime.Values.BedrockSessionContentBlockTextStringmodule BedrockSessionContentBlock =
Awso_bedrock_agent_runtime.Values.BedrockSessionContentBlockA block of content that you pass to, or receive from, a Amazon Bedrock session in an invocation step. You pass the content to a session in the payLoad of the PutInvocationStep API operation. You retrieve the content with the GetInvocationStep API operation. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
module BedrockSessionContentBlocks =
Awso_bedrock_agent_runtime.Values.BedrockSessionContentBlocksThis property contains the document to chat with, along with its attributes.
The property contains the file to chat with, along with its attributes.
A citation event.
Contains configurations to override a prompt template in one part of an agent sequence. For more information, see Advanced prompts.
module PromptOverrideConfiguration =
Awso_bedrock_agent_runtime.Values.PromptOverrideConfigurationContains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.
module VectorSearchRerankingConfigurationType =
Awso_bedrock_agent_runtime.Values.VectorSearchRerankingConfigurationTypemodule VectorSearchBedrockRerankingModelConfiguration =
Awso_bedrock_agent_runtime.Values.VectorSearchBedrockRerankingModelConfigurationContains configurations for an Amazon Bedrock reranker model.
module VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger =
Awso_bedrock_agent_runtime.Values.VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsIntegermodule FieldForRerankingFieldNameString =
Awso_bedrock_agent_runtime.Values.FieldForRerankingFieldNameStringContains information for a metadata field to include in or exclude from consideration when reranking.
module RerankingMetadataSelectiveModeConfiguration =
Awso_bedrock_agent_runtime.Values.RerankingMetadataSelectiveModeConfigurationContains configurations for the metadata fields to include or exclude when considering reranking. If you include the fieldsToExclude field, the reranker ignores all the metadata fields that you specify. If you include the fieldsToInclude field, the reranker uses only the metadata fields that you specify and ignores all others. You can include only one of these fields.
module RerankingMetadataSelectionMode =
Awso_bedrock_agent_runtime.Values.RerankingMetadataSelectionModemodule MetadataConfigurationForReranking =
Awso_bedrock_agent_runtime.Values.MetadataConfigurationForRerankingContains configurations for the metadata to use in reranking.
module VectorSearchBedrockRerankingConfiguration =
Awso_bedrock_agent_runtime.Values.VectorSearchBedrockRerankingConfigurationContains configurations for reranking with an Amazon Bedrock reranker model.
module VectorSearchRerankingConfiguration =
Awso_bedrock_agent_runtime.Values.VectorSearchRerankingConfigurationContains configurations for reranking the retrieved results.
Specifies the name that the metadata attribute must match and the value to which to compare the value of the metadata attribute. For more information, see Query configurations. This data type is used in the following API operations: RetrieveAndGenerate request
module RetrievalFilter = Awso_bedrock_agent_runtime.Values.RetrievalFilterSpecifies the filters to use on the metadata attributes in the knowledge base data sources before returning results. For more information, see Query configurations. See the examples below to see how to use these filters. This data type is used in the following API operations: Retrieve request – in the filter field RetrieveAndGenerate request – in the filter field
module RetrievalFilterList =
Awso_bedrock_agent_runtime.Values.RetrievalFilterListmodule KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseVectorSearchConfigurationNumberOfResultsIntegermodule MetadataAttributeSchemaKeyString =
Awso_bedrock_agent_runtime.Values.MetadataAttributeSchemaKeyStringmodule MetadataAttributeSchemaDescriptionString =
Awso_bedrock_agent_runtime.Values.MetadataAttributeSchemaDescriptionStringDetails about a metadata attribute.
module MetadataAttributeSchemaList =
Awso_bedrock_agent_runtime.Values.MetadataAttributeSchemaListmodule ImplicitFilterConfiguration =
Awso_bedrock_agent_runtime.Values.ImplicitFilterConfigurationSettings for implicit filtering, where a model generates a metadata filter based on the prompt.
module KnowledgeBaseVectorSearchConfiguration =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseVectorSearchConfigurationConfigurations for how to perform the search query and return results. For more information, see Query configurations. This data type is used in the following API operations: Retrieve request – in the vectorSearchConfiguration field RetrieveAndGenerate request – in the vectorSearchConfiguration field
module KnowledgeBaseRetrievalConfiguration =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseRetrievalConfigurationContains configurations for knowledge base query. For more information, see Query configurations. This data type is used in the following API operations: Retrieve request – in the retrievalConfiguration field RetrieveAndGenerate request – in the retrievalConfiguration field
Details of the knowledge base associated withe inline agent.
module GuardrailIdentifierWithArn =
Awso_bedrock_agent_runtime.Values.GuardrailIdentifierWithArnmodule GuardrailConfigurationWithArn =
Awso_bedrock_agent_runtime.Values.GuardrailConfigurationWithArnThe configuration details for the guardrail.
module CollaboratorConfiguration =
Awso_bedrock_agent_runtime.Values.CollaboratorConfigurationSettings of an inline collaborator agent.
module CollaboratorConfigurations =
Awso_bedrock_agent_runtime.Values.CollaboratorConfigurationsList of inline collaborators.
Represents a condition that was satisfied during a condition node evaluation in a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Time Stamp.
Contains information about a condition evaluation result during a flow execution. This event is generated when a condition node in the flow evaluates its conditions. Flow executions is in preview release for Amazon Bedrock and is subject to change.
There was a conflict performing an operation. Resolve the conflict and retry your request.
A content block.
Details about a message.
A conversation history.
Creates a new invocation within a session. An invocation groups the related invocation steps that store the content from a conversation. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions. Related APIs ListInvocations ListSessions GetSession
Input validation failed. Check your request parameters and retry the request.
The number of requests exceeds the limit. Resubmit your request later.
module ServiceQuotaExceededException =
Awso_bedrock_agent_runtime.Values.ServiceQuotaExceededExceptionThe number of requests exceeds the service quota. Resubmit your request later.
module ResourceNotFoundException =
Awso_bedrock_agent_runtime.Values.ResourceNotFoundExceptionThe specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
An internal server error occurred. Retry your request.
Creates a new invocation within a session. An invocation groups the related invocation steps that store the content from a conversation. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions. Related APIs ListInvocations ListSessions GetSession
Value of a tag
Key of a tag
Creates a session to temporarily store conversations for generative AI (GenAI) applications built with open-source frameworks such as LangGraph and LlamaIndex. Sessions enable you to save the state of conversations at checkpoints, with the added security and infrastructure of Amazon Web Services. For more information, see Store and retrieve conversation history and context with Amazon Bedrock sessions. By default, Amazon Bedrock uses Amazon Web Services-managed keys for session encryption, including session metadata, or you can use your own KMS key. For more information, see Amazon Bedrock session encryption. You use a session to store state and conversation history for generative AI applications built with open-source frameworks. For Amazon Bedrock Agents, the service automatically manages conversation context and associates them with the agent-specific sessionId you specify in the InvokeAgent API operation. Related APIs: ListSessions GetSession EndSession DeleteSession
Creates a session to temporarily store conversations for generative AI (GenAI) applications built with open-source frameworks such as LangGraph and LlamaIndex. Sessions enable you to save the state of conversations at checkpoints, with the added security and infrastructure of Amazon Web Services. For more information, see Store and retrieve conversation history and context with Amazon Bedrock sessions. By default, Amazon Bedrock uses Amazon Web Services-managed keys for session encryption, including session metadata, or you can use your own KMS key. For more information, see Amazon Bedrock session encryption. You use a session to store state and conversation history for generative AI applications built with open-source frameworks. For Amazon Bedrock Agents, the service automatically manages conversation context and associates them with the agent-specific sessionId you specify in the InvokeAgent API operation. Related APIs: ListSessions GetSession EndSession DeleteSession
The structure of the executor invoking the actions in custom orchestration.
Contains details of the custom orchestration configured for the agent.
Deletes memory from the specified memory identifier.
module DependencyFailedException =
Awso_bedrock_agent_runtime.Values.DependencyFailedExceptionThere was an issue with a dependency. Check the resource configurations and retry the request.
module DeleteAgentMemoryResponse =
Awso_bedrock_agent_runtime.Values.DeleteAgentMemoryResponseDeletes memory from the specified memory identifier.
Deletes a session that you ended. You can't delete a session with an ACTIVE status. To delete an active session, you must first end it with the EndSession API operation. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Deletes a session that you ended. You can't delete a session with an ACTIVE status. To delete an active session, you must first end it with the EndSession API operation. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Ends the session. After you end a session, you can still access its content but you can’t add to it. To delete the session and it's content, you use the DeleteSession API operation. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Ends the session. After you end a session, you can still access its content but you can’t add to it. To delete the session and it's content, you use the DeleteSession API operation. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
The unique wrapper object of the document from the S3 location.
The unique external source of the content contained in the wrapper object.
Contains the template for the prompt that's sent to the model for response generation. For more information, see Knowledge base prompt templates. This data type is used in the following API operations: RetrieveAndGenerate request – in the filter field
module RAGStopSequencesMemberString =
Awso_bedrock_agent_runtime.Values.RAGStopSequencesMemberStringConfiguration settings for text generation using a language model via the RetrieveAndGenerate operation. Includes parameters like temperature, top-p, maximum token count, and stop sequences. The valid range of maxTokens depends on the accepted values for your chosen model's inference parameters. To see the inference parameters for your model, see Inference parameters for foundation models.
The configuration for inference settings when generating responses using RetrieveAndGenerate.
module GuardrailConfigurationGuardrailVersionString =
Awso_bedrock_agent_runtime.Values.GuardrailConfigurationGuardrailVersionStringmodule GuardrailConfigurationGuardrailIdString =
Awso_bedrock_agent_runtime.Values.GuardrailConfigurationGuardrailIdStringThe configuration details for the guardrail.
module ExternalSourcesGenerationConfiguration =
Awso_bedrock_agent_runtime.Values.ExternalSourcesGenerationConfigurationContains the generation configuration of the external source wrapper object.
module ExternalSourcesRetrieveAndGenerateConfiguration =
Awso_bedrock_agent_runtime.Values.ExternalSourcesRetrieveAndGenerateConfigurationThe configurations of the external source wrapper object in the retrieveAndGenerate function.
Contains details of the response from code interpreter.
Contains intermediate response for code interpreter if any files have been generated.
Contains details of the s3 object where the source file is located.
The source file of the content contained in the wrapper object.
Contains information about why a flow completed.
Contains the content of an flow execution input or output field. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Contains information about an error that occurred during an flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Represents the next node that receives output data.
Contains the content of a flow node's input or output field for a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Represents an output field produced by a node during a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Contains information about the outputs produced by a specific node during a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Represents the source of input data for a node field.
module NodeInputExecutionChainItem =
Awso_bedrock_agent_runtime.Values.NodeInputExecutionChainItemRepresents an item in the execution chain for node input tracking.
Represents an input field provided to a node during a flow execution.
Contains information about the inputs provided to a specific node during a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Contains information about a failure that occurred at a specific node during a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Contains trace elements for node execution tracking.
Contains information about an internal trace of a specific node during execution.
Contains information about an action (operation) called by a node during execution.
Contains information about a failure that occurred at the flow level during a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Represents an output field produced by a flow during a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Contains information about the outputs produced by the flow during a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Represents an input field provided to a flow during a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Contains information about the inputs provided to the flow at the start of a flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Represents an event that occurred during an flow execution. This is a union type that can contain one of several event types, such as node input and output events; flow input and output events; condition node result events, or failure events. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Contains summary information about a flow execution, including its status, timestamps, and identifiers. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Contains information about an input into the flow.
Contains information about an input into the prompt flow and where to send it.
module FlowMultiTurnInputContent =
Awso_bedrock_agent_runtime.Values.FlowMultiTurnInputContentThe content structure containing input information for multi-turn flow interactions.
module FlowMultiTurnInputRequestEvent =
Awso_bedrock_agent_runtime.Values.FlowMultiTurnInputRequestEventResponse object from the flow multi-turn node requesting additional information.
Contains information about the content in an output from prompt flow invocation.
Contains information about an output from prompt flow invoction.
Represents the next node that receives output data from a flow trace.
module FlowTraceNodeOutputNextList =
Awso_bedrock_agent_runtime.Values.FlowTraceNodeOutputNextListmodule FlowTraceNodeOutputContent =
Awso_bedrock_agent_runtime.Values.FlowTraceNodeOutputContentContains the content of the node output. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
Contains information about a field in the output from a node. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
module FlowTraceNodeOutputFields =
Awso_bedrock_agent_runtime.Values.FlowTraceNodeOutputFieldsContains information about the output from a node. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
Represents the source of input data for a flow trace node field.
module FlowTraceNodeInputExecutionChainItem =
Awso_bedrock_agent_runtime.Values.FlowTraceNodeInputExecutionChainItemRepresents an item in the execution chain for flow trace node input tracking.
module FlowTraceNodeInputExecutionChain =
Awso_bedrock_agent_runtime.Values.FlowTraceNodeInputExecutionChainmodule FlowTraceNodeInputContent =
Awso_bedrock_agent_runtime.Values.FlowTraceNodeInputContentContains the content of the node input. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
Contains information about a field in the input into a node. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
Contains information about the input into a node. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
Contains information about an action (operation) called by a node in an Amazon Bedrock flow. The service generates action events for calls made by prompt nodes, agent nodes, and Amazon Web Services Lambda nodes.
Contains trace elements for flow execution tracking.
Contains information about a dependency trace event in the flow.
Contains information about a condition that was satisfied. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
module FlowTraceConditionNodeResultEvent =
Awso_bedrock_agent_runtime.Values.FlowTraceConditionNodeResultEventContains information about an output from a condition node. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
Contains information about an input or output for a node in the flow. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
Contains information about a trace, which tracks an input or output for a node in the flow. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
The output of the flow.
module TextToSqlKnowledgeBaseConfiguration =
Awso_bedrock_agent_runtime.Values.TextToSqlKnowledgeBaseConfigurationContains configurations for a knowledge base to use in transformation.
module TextToSqlConfigurationType =
Awso_bedrock_agent_runtime.Values.TextToSqlConfigurationTypeContains configurations for transforming text to SQL.
module TransformationConfiguration =
Awso_bedrock_agent_runtime.Values.TransformationConfigurationContains configurations for transforming the natural language query into SQL.
module QueryGenerationInputTextString =
Awso_bedrock_agent_runtime.Values.QueryGenerationInputTextStringContains information about a natural language query to transform into SQL.
Generates an SQL query from a natural language query. For more information, see Generate a query for structured data in the Amazon Bedrock User Guide.
Contains information about a query generated for a natural language query.
Generates an SQL query from a natural language query. For more information, see Generate a query for structured data in the Amazon Bedrock User Guide.
Contains configurations for response generation based on the knowledge base query results. This data type is used in the following API operations: RetrieveAndGenerate request
Max Results.
Gets the sessions stored in the memory of the agent.
Contains details of a session summary.
Contains sessions summaries.
Gets the sessions stored in the memory of the agent.
module GetExecutionFlowSnapshotRequest =
Awso_bedrock_agent_runtime.Values.GetExecutionFlowSnapshotRequestRetrieves the flow definition snapshot used for a flow execution. The snapshot represents the flow metadata and definition as it existed at the time the execution was started. Note that even if the flow is edited after an execution starts, the snapshot connected to the execution remains unchanged. Flow executions is in preview release for Amazon Bedrock and is subject to change.
module GetExecutionFlowSnapshotResponse =
Awso_bedrock_agent_runtime.Values.GetExecutionFlowSnapshotResponseRetrieves the flow definition snapshot used for a flow execution. The snapshot represents the flow metadata and definition as it existed at the time the execution was started. Note that even if the flow is edited after an execution starts, the snapshot connected to the execution remains unchanged. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Retrieves details about a specific flow execution, including its status, start and end times, and any errors that occurred during execution.
Retrieves details about a specific flow execution, including its status, start and end times, and any errors that occurred during execution.
Retrieves the details of a specific invocation step within an invocation in a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Payload content, such as text and images, for the invocation step.
Stores fine-grained state checkpoints, including text and images, for each interaction in an invocation in a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
module GetInvocationStepResponse =
Awso_bedrock_agent_runtime.Values.GetInvocationStepResponseRetrieves the details of a specific invocation step within an invocation in a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Retrieves details about a specific session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Retrieves details about a specific session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
A guardrail event.
Contains intermediate response for code interpreter if any files have been generated.
Contains a part of an agent response and citations for it.
Contains information about the agent and session, alongside the agent's reasoning process and results from calling API actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
module InlineAgentReturnControlPayload =
Awso_bedrock_agent_runtime.Values.InlineAgentReturnControlPayloadContains information to return from the action group that the agent has predicted to invoke. This data type is used in the InvokeAgent response API operation.
module InlineAgentResponseStream =
Awso_bedrock_agent_runtime.Values.InlineAgentResponseStreamThe response from invoking the agent and associated citations and trace information.
module InlineBedrockModelConfigurations =
Awso_bedrock_agent_runtime.Values.InlineBedrockModelConfigurationsSettings for a model called with InvokeInlineAgent.
module PromptSessionAttributesMap =
Awso_bedrock_agent_runtime.Values.PromptSessionAttributesMapContains details of the source files.
Contains parameters that specify various attributes that persist across a session or prompt. You can define session state attributes as key-value pairs when writing a Lambda function for an action group or pass them when making an InvokeInlineAgent request. Use session state attributes to control and provide conversational context for your inline agent and to help customize your agent's behavior. For more information, see Control session context
module InputImageInlineContentBlob =
Awso_bedrock_agent_runtime.Values.InputImageInlineContentBlobContains the image data for multimodal knowledge base queries, including format and content. This data type is used in the following API operations: Retrieve request – in the image field
Contains information about the text prompt to optimize.
Contains information about the prompt to optimize.
Contains details about an invocation step within an invocation in a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Contains details about an invocation in a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
module StreamingConfigurationsApplyGuardrailIntervalInteger =
Awso_bedrock_agent_runtime.Values.StreamingConfigurationsApplyGuardrailIntervalIntegerConfigurations for streaming.
module KnowledgeBaseConfiguration =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseConfigurationConfigurations to apply to a knowledge base attached to the agent during query. For more information, see Knowledge base retrieval configurations.
module KnowledgeBaseConfigurations =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseConfigurationsContains parameters that specify various attributes that persist across a session or prompt. You can define session state attributes as key-value pairs when writing a Lambda function for an action group or pass them when making an InvokeAgent request. Use session state attributes to control and provide conversational context for your agent and to help customize your agent's behavior. For more information, see Control session context.
module PromptCreationConfigurationsPreviousConversationTurnsToIncludeInteger =
Awso_bedrock_agent_runtime.Values.PromptCreationConfigurationsPreviousConversationTurnsToIncludeIntegermodule PromptCreationConfigurations =
Awso_bedrock_agent_runtime.Values.PromptCreationConfigurationsSpecifies parameters that control how the service populates the agent prompt for an InvokeAgent or InvokeInlineAgent request. You can control which aspects of previous invocations in the same agent session the service uses to populate the agent prompt. This gives you more granular control over the contextual history that is used to process the current request.
Sends a prompt for the agent to process and respond to. Note the following fields for the request: To continue the same conversation with an agent, use the same sessionId value in the request. To activate trace enablement, turn enableTrace to true. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see Trace enablement. End a conversation by setting endSession to true. In the sessionState object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group. The response contains both chunk and trace attributes. The final response is returned in the bytes field of the chunk object. The InvokeAgent returns one chunk for the entire interaction. The attribution object contains citations for parts of the response. If you set enableTrace to true in the request, you can trace the agent's steps and reasoning process that led it to the response. If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the returnControl field. Errors are also surfaced in the response.
Contains a part of an agent response and citations for it.
The model specified in the request is not ready to serve inference requests. The AWS SDK will automatically retry the operation up to 5 times. For information about configuring automatic retries, see Retry behavior in the AWS SDKs and Tools reference guide.
The response from invoking the agent and associated citations and trace information.
Sends a prompt for the agent to process and respond to. Note the following fields for the request: To continue the same conversation with an agent, use the same sessionId value in the request. To activate trace enablement, turn enableTrace to true. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see Trace enablement. End a conversation by setting endSession to true. In the sessionState object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group. The response contains both chunk and trace attributes. The final response is returned in the bytes field of the chunk object. The InvokeAgent returns one chunk for the entire interaction. The attribution object contains citations for parts of the response. If you set enableTrace to true in the request, you can trace the agent's steps and reasoning process that led it to the response. If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the returnControl field. Errors are also surfaced in the response.
module ModelPerformanceConfiguration =
Awso_bedrock_agent_runtime.Values.ModelPerformanceConfigurationThe performance configuration for a model called with InvokeFlow.
Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide. The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow.
Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide. The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow.
Invokes an inline Amazon Bedrock agent using the configurations you provide with the request. Specify the following fields for security purposes. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeInlineAgent request begins a new session. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.
module InvokeInlineAgentResponse =
Awso_bedrock_agent_runtime.Values.InvokeInlineAgentResponseInvokes an inline Amazon Bedrock agent using the configurations you provide with the request. Specify the following fields for security purposes. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeInlineAgent request begins a new session. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.
module KnowledgeBaseQueryTextString =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseQueryTextStringContains the query made to the knowledge base. This data type is used in the following API operations: Retrieve request – in the retrievalQuery field
module KnowledgeBaseRetrievalResult =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseRetrievalResultDetails about a result from querying the knowledge base. This data type is used in the following API operations: Retrieve response – in the retrievalResults field
module KnowledgeBaseRetrievalResults =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseRetrievalResultsmodule QueryTransformationConfiguration =
Awso_bedrock_agent_runtime.Values.QueryTransformationConfigurationTo split up the prompt and retrieve multiple sources, set the transformation type to QUERY_DECOMPOSITION.
module OrchestrationConfiguration =
Awso_bedrock_agent_runtime.Values.OrchestrationConfigurationSettings for how the model processes the prompt prior to retrieval and generation.
module KnowledgeBaseRetrieveAndGenerateConfiguration =
Awso_bedrock_agent_runtime.Values.KnowledgeBaseRetrieveAndGenerateConfigurationContains details about the resource being queried. This data type is used in the following API operations: Retrieve request – in the knowledgeBaseConfiguration field RetrieveAndGenerate request – in the knowledgeBaseConfiguration field
module ListFlowExecutionEventsRequest =
Awso_bedrock_agent_runtime.Values.ListFlowExecutionEventsRequestLists events that occurred during a flow execution. Events provide detailed information about the execution progress, including node inputs and outputs, flow inputs and outputs, condition results, and failure events. Flow executions is in preview release for Amazon Bedrock and is subject to change.
module ListFlowExecutionEventsResponse =
Awso_bedrock_agent_runtime.Values.ListFlowExecutionEventsResponseLists events that occurred during a flow execution. Events provide detailed information about the execution progress, including node inputs and outputs, flow inputs and outputs, condition results, and failure events. Flow executions is in preview release for Amazon Bedrock and is subject to change.
module ListFlowExecutionsRequest =
Awso_bedrock_agent_runtime.Values.ListFlowExecutionsRequestLists all executions of a flow. Results can be paginated and include summary information about each execution, such as status, start and end times, and the execution's Amazon Resource Name (ARN). Flow executions is in preview release for Amazon Bedrock and is subject to change.
module ListFlowExecutionsResponse =
Awso_bedrock_agent_runtime.Values.ListFlowExecutionsResponseLists all executions of a flow. Results can be paginated and include summary information about each execution, such as status, start and end times, and the execution's Amazon Resource Name (ARN). Flow executions is in preview release for Amazon Bedrock and is subject to change.
module ListInvocationStepsRequest =
Awso_bedrock_agent_runtime.Values.ListInvocationStepsRequestLists all invocation steps associated with a session and optionally, an invocation within the session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
module ListInvocationStepsResponse =
Awso_bedrock_agent_runtime.Values.ListInvocationStepsResponseLists all invocation steps associated with a session and optionally, an invocation within the session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Lists all invocations associated with a specific session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Lists all invocations associated with a specific session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Lists all sessions in your Amazon Web Services account. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Contains details about a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Lists all sessions in your Amazon Web Services account. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
ARN of Taggable resources: [session]
module ListTagsForResourceRequest =
Awso_bedrock_agent_runtime.Values.ListTagsForResourceRequestList all the tags for the resource you specify.
module ListTagsForResourceResponse =
Awso_bedrock_agent_runtime.Values.ListTagsForResourceResponseList all the tags for the resource you specify.
module OptimizePromptRequestTargetModelIdString =
Awso_bedrock_agent_runtime.Values.OptimizePromptRequestTargetModelIdStringOptimizes a prompt for the task that you specify. For more information, see Optimize a prompt in the Amazon Bedrock User Guide.
Contains information about the optimized prompt.
An event in which the prompt was optimized.
The stream containing events in the prompt optimization process.
Optimizes a prompt for the task that you specify. For more information, see Optimize a prompt in the Amazon Bedrock User Guide.
Add an invocation step to an invocation in a session. An invocation step stores fine-grained state checkpoints, including text and images, for each interaction. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions. Related APIs: GetInvocationStep ListInvocationSteps ListInvocations ListSessions
module PutInvocationStepResponse =
Awso_bedrock_agent_runtime.Values.PutInvocationStepResponseAdd an invocation step to an invocation in a session. An invocation step stores fine-grained state checkpoints, including text and images, for each interaction. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions. Related APIs: GetInvocationStep ListInvocationSteps ListInvocations ListSessions
module RerankTextDocumentTextString =
Awso_bedrock_agent_runtime.Values.RerankTextDocumentTextStringContains information about a text document to rerank.
Contains information about a document to rerank. Choose the type to define and include the field that corresponds to the type.
Contains information about a query to submit to the reranker model.
module RerankingConfigurationType =
Awso_bedrock_agent_runtime.Values.RerankingConfigurationTypeContains configurations for reranking.
Contains information about a source for reranking.
Reranks the relevance of sources based on queries. For more information, see Improve the relevance of query responses with a reranker model.
Contains information about a document that was reranked.
Reranks the relevance of sources based on queries. For more information, see Improve the relevance of query responses with a reranker model.
module RetrieveAndGenerateConfiguration =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateConfigurationContains details about the resource being queried. This data type is used in the following API operations: RetrieveAndGenerate request – in the retrieveAndGenerateConfiguration field
module RetrieveAndGenerateInputTextString =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateInputTextStringContains the query made to the knowledge base. This data type is used in the following API operations: RetrieveAndGenerate request – in the input field
module RetrieveAndGenerateOutput =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateOutputContains the response generated from querying the knowledge base. This data type is used in the following API operations: RetrieveAndGenerate response – in the output field
module RetrieveAndGenerateOutputEvent =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateOutputEventA retrieve and generate output event.
module RetrieveAndGenerateSessionConfiguration =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateSessionConfigurationContains configuration about the session with the knowledge base. This data type is used in the following API operations: RetrieveAndGenerate request – in the sessionConfiguration field
module RetrieveAndGenerateRequest =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateRequestQueries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or inference profile. The response only cites sources that are relevant to the query.
module RetrieveAndGenerateResponse =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateResponseQueries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or inference profile. The response only cites sources that are relevant to the query.
module RetrieveAndGenerateStreamRequest =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateStreamRequestQueries a knowledge base and generates responses based on the retrieved results, with output in streaming format. The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeModelWithResponseStream. This operation requires permission for the bedrock:RetrieveAndGenerate action.
module RetrieveAndGenerateStreamResponseOutput =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateStreamResponseOutputA retrieve and generate stream response output.
module RetrieveAndGenerateStreamResponse =
Awso_bedrock_agent_runtime.Values.RetrieveAndGenerateStreamResponseQueries a knowledge base and generates responses based on the retrieved results, with output in streaming format. The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeModelWithResponseStream. This operation requires permission for the bedrock:RetrieveAndGenerate action.
Queries a knowledge base and retrieves information from it.
Queries a knowledge base and retrieves information from it.
module StartFlowExecutionRequest =
Awso_bedrock_agent_runtime.Values.StartFlowExecutionRequestStarts an execution of an Amazon Bedrock flow. Unlike flows that run until completion or time out after five minutes, flow executions let you run flows asynchronously for longer durations. Flow executions also yield control so that your application can perform other tasks. This operation returns an Amazon Resource Name (ARN) that you can use to track and manage your flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
module StartFlowExecutionResponse =
Awso_bedrock_agent_runtime.Values.StartFlowExecutionResponseStarts an execution of an Amazon Bedrock flow. Unlike flows that run until completion or time out after five minutes, flow executions let you run flows asynchronously for longer durations. Flow executions also yield control so that your application can perform other tasks. This operation returns an Amazon Resource Name (ARN) that you can use to track and manage your flow execution. Flow executions is in preview release for Amazon Bedrock and is subject to change.
Stops an Amazon Bedrock flow's execution. This operation prevents further processing of the flow and changes the execution status to Aborted.
module StopFlowExecutionResponse =
Awso_bedrock_agent_runtime.Values.StopFlowExecutionResponseStops an Amazon Bedrock flow's execution. This operation prevents further processing of the flow and changes the execution status to Aborted.
Associate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
Associate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
Remove tags from a resource.
Remove tags from a resource.
Updates the metadata or encryption settings of a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Updates the metadata or encryption settings of a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.