Table of Contents

Method Submit

Namespace
LMKit.TextGeneration
Assembly
LM-Kit.NET.dll

Submit(string, CancellationToken)

Submits a prompt to the text generation model and returns the result.

TextGenerationResult Submit(string prompt, CancellationToken cancellationToken = default)

Parameters

prompt string

The prompt to submit to the model for text generation.

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

TextGenerationResult

A TextGenerationResult containing the generated text.