Class PromptContext
- Namespace
- Dynamicweb.AI
- Assembly
- Dynamicweb.Core.dll
The context which is sent to AI together with the prompt.
- Inheritance
-
Prompt
Context
- Inherited Members
Constructors
PromptContext(IEnumerable<KeyValuePair<string, string>>)
Construtor for the prompt context setting the values property, used for generation of new text.
Parameters
values
IEnumerable<KeyValue <string, string>>Pair
PromptContext(string)
Constructor for the prompt context setting only the text property. Used for modification of a piece of text instead of generation of new text.
Parameters
text
stringText to be modified by the prompt