Search Results for

    Show / Hide Table of Contents

    Class ConversationChain

    Simple pre-built chain for conversation generation

    Inheritance
    object
    ModelChain
    ConversationChain
    Implements
    IChain
    IChain<ChainMessage, ChainMessage>
    Inherited Members
    ModelChain.InputVariables
    ModelChain.DefaultOutputKey
    ModelChain.InputBlock
    ModelChain.OutputBlock
    ModelChain.Cancel()
    ModelChain.ModelMaxRequestTokens
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DotnetPrompt.Chains.Specialized
    Assembly: DotnetPrompt.dll
    Syntax
    public class ConversationChain : ModelChain, IChain, IChain<ChainMessage, ChainMessage>

    Constructors

    | Improve this Doc View Source

    ConversationChain(ILargeLanguageModel, ILogger<ConversationChain>)

    ctor

    Declaration
    public ConversationChain(ILargeLanguageModel llm, ILogger<ConversationChain> logger = null)
    Parameters
    Type Name Description
    ILargeLanguageModel llm
    ILogger<ConversationChain> logger

    Implements

    IChain
    IChain<TInput, TOutput>

    Extension Methods

    ChainExecutorExtensions.GetExecutor(IChain, bool)
    ChainExtensions.LinkTo(IChain, IChain)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright 2023 © Pavel «xakpc» Osadchuk for DotnetPrompt