|
123456789101112131415161718192021222324252627282930313233343536373839 |
- # ITextStreamTransform
-
- Namespace: LLama.Abstractions
-
- Takes a stream of tokens and transforms them.
-
- ```csharp
- public interface ITextStreamTransform
- ```
-
- ## Methods
-
- ### **TransformAsync(IAsyncEnumerable<String>)**
-
- Takes a stream of tokens and transforms them, returning a new stream of tokens asynchronously.
-
- ```csharp
- IAsyncEnumerable<string> TransformAsync(IAsyncEnumerable<string> tokens)
- ```
-
- #### Parameters
-
- `tokens` [IAsyncEnumerable<String>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.iasyncenumerable-1)<br>
-
- #### Returns
-
- [IAsyncEnumerable<String>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.iasyncenumerable-1)<br>
-
- ### **Clone()**
-
- Copy the transform.
-
- ```csharp
- ITextStreamTransform Clone()
- ```
-
- #### Returns
-
- [ITextStreamTransform](./llama.abstractions.itextstreamtransform.md)<br>
|