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
stringThe prompt to submit to the model for text generation.
cancellationToken
CancellationTokenA token to monitor for cancellation requests.
Returns
- TextGenerationResult
A TextGenerationResult containing the generated text.