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.

This is the response object from the Converse operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.BedrockRuntime.Model.ConverseResponse

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

Syntax

C#
public class ConverseResponse : AmazonWebServiceResponse

The ConverseResponse type exposes the following members

Constructors

NameDescription
Public Method ConverseResponse()

Properties

NameTypeDescription
Public Property AdditionalModelResponseFields Amazon.Runtime.Documents.Document

Gets and sets the property AdditionalModelResponseFields.

Additional fields in the response that are unique to the model.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Metrics Amazon.BedrockRuntime.Model.ConverseMetrics

Gets and sets the property Metrics.

Metrics for the call to Converse.

Public Property Output Amazon.BedrockRuntime.Model.ConverseOutput

Gets and sets the property Output.

The result from the call to Converse.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property StopReason Amazon.BedrockRuntime.StopReason

Gets and sets the property StopReason.

The reason why the model stopped generating output.

Public Property Trace Amazon.BedrockRuntime.Model.ConverseTrace

Gets and sets the property Trace.

A trace object that contains information about the Guardrail behavior.

Public Property Usage Amazon.BedrockRuntime.Model.TokenUsage

Gets and sets the property Usage.

The total number of tokens used in the call to Converse. The total includes the tokens input to the model and the tokens generated by the model.

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