Class TextGenerator
- Namespace
- Dynamicweb.AI
- Assembly
- Dynamicweb.Core.dll
Is used when using AI text completions.
- Inheritance
-
Text
Generator
- Inherited Members
Methods
GetGeneratedTextResult(Prompt, PromptContext)
Get the generated text result from the AI service based on the Prompt and PromptContext.
public abstract Task<Result<GeneratedTextResult>> GetGeneratedTextResult(Prompt prompt, PromptContext context)
Parameters
prompt
Promptcontext
PromptContext