Table of Contents

Class TextGenerator

Namespace
Dynamicweb.AI
Assembly
Dynamicweb.Core.dll

Is used when using AI text completions.

public abstract class TextGenerator
Inheritance
TextGenerator
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 Prompt
context PromptContext

Returns

Task<Result<GeneratedTextResult>>
To top