LLamaSharp/docs/xmldocs/llama.abstractions.itexttra...

587 B

ITextTransform

Namespace: LLama.Abstractions

An interface for text transformations. These can be used to compose a pipeline of text transformations, such as:

  • Tokenization
  • Lowercasing
  • Punctuation removal
  • Trimming
  • etc.
public interface ITextTransform

Methods

Transform(String)

Takes a string and transforms it.

string Transform(string text)

Parameters

text String

Returns

String