AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class GenerateResponse

    Inheritance
    object
    OllamaResponse
    OllamaTextResponse
    GenerateResponse
    Inherited Members
    OllamaTextResponse.CreatedAt
    OllamaTextResponse.FinishReason
    OllamaTextResponse.Context
    OllamaTextResponse.PromptEvalDuration
    OllamaTextResponse.OutputTokenCount
    OllamaTextResponse.EvalDuration
    OllamaResponse.Model
    OllamaResponse.TotalDuration
    OllamaResponse.LoadDuration
    OllamaResponse.InputTokenCount
    Namespace: Glitch9.AIDevKit.Ollama
    Assembly: .dll
    Syntax
    public class GenerateResponse : OllamaTextResponse

    Properties

    Response

    Required. The generated response content.

    Declaration
    public string Response { get; set; }
    Property Value
    Type Description
    string

    Methods

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    ToTextDelta()

    Declaration
    public string ToTextDelta()
    Returns
    Type Description
    string

    Extension Methods

    ResponseExtensions.SetOutputText(GenerateResponse, string)
    In this article
    Back to top Generated by DocFX