Class QuestionAnsweringChain
Chain to answer question based on input context
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 QuestionAnsweringChain : ModelChain, IChain, IChain<ChainMessage, ChainMessage>
Remarks
Input Variables: context, question Output Variables: answer
Constructors
| Improve this Doc View SourceQuestionAnsweringChain(ILargeLanguageModel, ILogger<ModelChain>?)
ctor
Declaration
public QuestionAnsweringChain(ILargeLanguageModel llm, ILogger<ModelChain>? logger = null)
Parameters
Type | Name | Description |
---|---|---|
ILargeLanguageModel | llm | |
ILogger<ModelChain> | logger |