Class AsyncEnumerableExtensions
- Namespace
- Prefrontal.Modules.Chat.Text
- Assembly
- Prefrontal.Modules.dll
public static class AsyncEnumerableExtensions- Inheritance
- 
      
      AsyncEnumerableExtensions
- Inherited Members
Methods
AppendAsLastMessageOf<T>(IAsyncEnumerable<T>, LLM<Message>)
public static IAsyncEnumerable<(LLM<Message> llm, string textAppended)> AppendAsLastMessageOf<T>(this IAsyncEnumerable<T> source, LLM<Message> llm) where T : MessageParameters
- sourceIAsyncEnumerable<T>
- llmLLM<Message>
Returns
Type Parameters
- T
AppendAsLastMessageOf<T>(Task<T>, LLM<Message>)
public static Task<(LLM<Message> llm, string textAppended)> AppendAsLastMessageOf<T>(this Task<T> source, LLM<Message> llm) where T : MessageParameters
Returns
Type Parameters
- T