extensions
extensions copied to clipboard
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
The current implementation of VectorStoreWriter.WriteAsync accepts a parameter of type `IAsyncEnumerable`; it then loops over the chunks, and calls UpsertAsync separately for each chunk. This means we perform a database...
VectorStoreWriter is currently only instantiable with a VectorStore (a "database"), and internally creates the VectorStoreCollection (the thing representing a "table") when it's handed the first chunk (among other things, based...
Most AI providers when streaming assign an ID or index to each piece of content such that all of the streamed pieces of that component tie back to which one...
We've heard of a few cases recently where folks have avoided using `GetResponseAsync` because it would mean adding a dependency on M.E.AI rather than M.E.AI.Abstractions, or at least they thought...
Compile error when using `Microsoft.Extensions.Telemetry.Abstractions` in `.NETStandard2.1` projects
### Description Try to use the same code, multi-targeting `.NET 6` and `.NETStandard2.1`, build failure on `netstandard`. ### Reproduction Steps Here's the source code for a repro: ```csharp using Microsoft.Extensions.Logging;...
### Description We're using the .NET resource monitoring API to obtain metrics for CPU and Memory usage. There's one option that is mandatory for us to use, to work around...
### Background and motivation MEAI currently supports 3 mode to control the output of the LLM: - Auto: return tools or natural language - RequireAny: only return tools - RequireSpecific:...
Current generator implementation doesn't follow Roslyn best practices, and can likely be very slow in big solutions while typing in IDE. The PR isn't yet complete. All diagnostics produced by...
### Description As an example, the `CoherenceEvaluator`, makes use of the `TryGetUserRequest()` extensions method which doesn't "try" very hard as it only looks at the last message to see if...
### Description We observed that when running a background service in a .NET 8 container, after several hours CPU usage steadily increases (i.e. “CPU ramp up”). This only occurs when...