Class PromptTemplate
- Namespace
- OobaboogaAPIHelper
- Assembly
- DougWare.OobaboogaAPIHelper.dll
Base class for prompt templates with reasonable, but arbitrary defaults.
public class PromptTemplate
- Inheritance
-
PromptTemplate
- Derived
- Inherited Members
Fields
BotNameReplacementToken
public readonly string BotNameReplacementToken
Field Value
HumanNameReplacementToken
public readonly string HumanNameReplacementToken
Field Value
HumanPromptReplacementToken
public readonly string HumanPromptReplacementToken
Field Value
SystemPromptReplacementToken
public readonly string SystemPromptReplacementToken
Field Value
Properties
BotName
The label for the bot in the prompt.
public virtual string BotName { get; set; }
Property Value
HumanName
The label for the human in the prompt.
public virtual string HumanName { get; set; }
Property Value
SystemPrompt
Appears at the beginning of the prompt.
public virtual string SystemPrompt { get; set; }
Property Value
eos_token
The token to use for the end of a round. If there is one, this divides the prompt into multiple rounds.
public virtual string eos_token { get; set; }
Property Value
stopping_strings
When the response produced one of the strings, the bot will stop generating text. These keep the bot from talking to itself.
public virtual List<string> stopping_strings { get; set; }