Search Results for

    Show / Hide Table of Contents

    Class ModelExtensions

    Inheritance
    object
    ModelExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DotnetPrompt.Abstractions.LLM
    Assembly: DotnetPrompt.Abstractions.dll
    Syntax
    public static class ModelExtensions

    Methods

    | Improve this Doc View Source

    PromptAsync(ILargeLanguageModel, string, List<string>)

    Run the LLM on the given prompt and input.

    Declaration
    public static Task<string> PromptAsync(this ILargeLanguageModel model, string prompt, List<string> stop = null)
    Parameters
    Type Name Description
    ILargeLanguageModel model
    string prompt
    List<string> stop
    Returns
    Type Description
    Task<string>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright 2023 © Pavel «xakpc» Osadchuk for DotnetPrompt