AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class CompletionService

    Inheritance
    object
    CRUDServiceBase<OpenRouter>
    CompletionService
    Namespace: Glitch9.AIDevKit.OpenRouter.Services
    Assembly: .dll
    Syntax
    public class CompletionService : CRUDServiceBase<OpenRouter>

    Constructors

    CompletionService(OpenRouter)

    Declaration
    public CompletionService(OpenRouter client)
    Parameters
    Type Name Description
    OpenRouter client

    Methods

    CreateAsync(CompletionRequest)

    Declaration
    public UniTask<ChatCompletion> CreateAsync(CompletionRequest req)
    Parameters
    Type Name Description
    CompletionRequest req
    Returns
    Type Description
    UniTask<ChatCompletion>

    Stream(CompletionRequest, ChatStreamHandler)

    Declaration
    public UniTask Stream(CompletionRequest req, ChatStreamHandler streamHandler)
    Parameters
    Type Name Description
    CompletionRequest req
    ChatStreamHandler streamHandler
    Returns
    Type Description
    UniTask
    In this article
    Back to top Generated by DocFX