AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contains the result or output of an action group or knowledge base, or the response to the user.

Inheritance Hierarchy

System.Object
  Amazon.BedrockAgentRuntime.Model.Observation

Namespace: Amazon.BedrockAgentRuntime.Model
Assembly: AWSSDK.BedrockAgentRuntime.dll
Version: 3.x.y.z

Syntax

C#
public class Observation

The Observation type exposes the following members

Constructors

NameDescription
Public Method Observation()

Properties

NameTypeDescription
Public Property ActionGroupInvocationOutput Amazon.BedrockAgentRuntime.Model.ActionGroupInvocationOutput

Gets and sets the property ActionGroupInvocationOutput.

Contains the JSON-formatted string returned by the API invoked by the action group.

Public Property AgentCollaboratorInvocationOutput Amazon.BedrockAgentRuntime.Model.AgentCollaboratorInvocationOutput

Gets and sets the property AgentCollaboratorInvocationOutput.

A collaborator's invocation output.

Public Property CodeInterpreterInvocationOutput Amazon.BedrockAgentRuntime.Model.CodeInterpreterInvocationOutput

Gets and sets the property CodeInterpreterInvocationOutput.

Contains the JSON-formatted string returned by the API invoked by the code interpreter.

Public Property FinalResponse Amazon.BedrockAgentRuntime.Model.FinalResponse

Gets and sets the property FinalResponse.

Contains details about the response to the user.

Public Property KnowledgeBaseLookupOutput Amazon.BedrockAgentRuntime.Model.KnowledgeBaseLookupOutput

Gets and sets the property KnowledgeBaseLookupOutput.

Contains details about the results from looking up the knowledge base.

Public Property RepromptResponse Amazon.BedrockAgentRuntime.Model.RepromptResponse

Gets and sets the property RepromptResponse.

Contains details about the response to reprompt the input.

Public Property TraceId System.String

Gets and sets the property TraceId.

The unique identifier of the trace.

Public Property Type Amazon.BedrockAgentRuntime.Type

Gets and sets the property Type.

Specifies what kind of information the agent returns in the observation. The following values are possible.

  • ACTION_GROUP – The agent returns the result of an action group.

  • KNOWLEDGE_BASE – The agent returns information from a knowledge base.

  • FINISH – The agent returns a final response to the user with no follow-up.

  • ASK_USER – The agent asks the user a question.

  • REPROMPT – The agent prompts the user again for the same information.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5