Class ConversationChain
Simple pre-built chain for conversation generation
Inherited Members
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 SourceConversationChain(ILargeLanguageModel, ILogger<ConversationChain>)
ctor
Declaration
public ConversationChain(ILargeLanguageModel llm, ILogger<ConversationChain> logger = null)
Parameters
Type | Name | Description |
---|---|---|
ILargeLanguageModel | llm | |
ILogger<ConversationChain> | logger |