Search Results for

    Show / Hide Table of Contents

    Class ConverseService

    Amazon Bedrock Chat Service

    Inheritance
    object
    CrudServiceBase<AwsClient>
    ConverseService
    Implements
    ICrudService
    IBedrockService
    Inherited Members
    CrudServiceBase<AwsClient>.client
    CrudServiceBase<AwsClient>.ApiKey
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws.Bedrock.Services
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public sealed class ConverseService : CrudServiceBase<AwsClient>, ICrudService, IBedrockService

    Constructors

    | Edit this page View Source

    ConverseService(AwsClient)

    Declaration
    public ConverseService(AwsClient client)
    Parameters
    Type Name Description
    AwsClient client

    Methods

    | Edit this page View Source

    CountTokensAsync(BedrockCountTokensRequest, RequestOptions)

    Declaration
    public UniTask<BedrockCountTokensResponse> CountTokensAsync(BedrockCountTokensRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    BedrockCountTokensRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<BedrockCountTokensResponse>
    | Edit this page View Source

    CreateAsync(ConverseRequest, RequestOptions)

    Declaration
    public UniTask<ConverseResponse> CreateAsync(ConverseRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    ConverseRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<ConverseResponse>
    | Edit this page View Source

    StreamAsync(ConverseRequest, RequestOptions)

    Declaration
    public IGenerativeStream<ResponseEventBase, ConversationItem> StreamAsync(ConverseRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    ConverseRequest request
    RequestOptions options
    Returns
    Type Description
    IGenerativeStream<ResponseEventBase, ConversationItem>

    Implements

    ICrudService
    IBedrockService

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation