Class TextRewriter
- Namespace
- LMKit.TextEnhancement
- Assembly
- LM-Kit.NET.dll
Provides functionality for rewriting text into a specified communication style and language.
public sealed class TextRewriter
- Inheritance
-
TextRewriter
- Inherited Members
Constructors
- TextRewriter(LLM)
Initializes a new instance of the TextRewriter class.
Properties
- Model
Gets the Model instance associated with this TextRewriter object.
Methods
- Rewrite(string, CommunicationStyle, Language, CancellationToken)
Rewrites the specified text into a specified style and language.
- RewriteAsync(string, CommunicationStyle, Language, CancellationToken)
Asynchronously rewrites the specified text into a specified style and language.
Events
- AfterTextCompletion
Occurs after a text completion operation is performed.