Search Results for

    Show / Hide Table of Contents

    Interface IEmbeddings

    Interface for embedding models.

    Namespace: DotnetPrompt.Abstractions.Tools
    Assembly: DotnetPrompt.Abstractions.dll
    Syntax
    public interface IEmbeddings

    Methods

    | Improve this Doc View Source

    EmbedAsync(IList<string>)

    Embed search docs.

    Declaration
    Task<IList<TextEmbedding>> EmbedAsync(IList<string> texts)
    Parameters
    Type Name Description
    IList<string> texts
    Returns
    Type Description
    Task<IList<TextEmbedding>>
    | Improve this Doc View Source

    EmbedAsync(string)

    Embed query text.

    Declaration
    Task<TextEmbedding> EmbedAsync(string text)
    Parameters
    Type Name Description
    string text
    Returns
    Type Description
    Task<TextEmbedding>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright 2023 © Pavel «xakpc» Osadchuk for DotnetPrompt