Eirik Tsarpalis
Eirik Tsarpalis
Would be nice if we could add collection literal support for Memory types:  CollectionBuilderAttribute-based proposal ## API Proposal ```diff namespace System; +[CollectionBuilder(typeof(MemoryExtensions), nameof(MemoryExtensions.CreateMemoryFromSpan)] public partial readonly struct Memory; +[CollectionBuilder(typeof(MemoryExtensions),...
Updates `JsonSchemaMapper` to include the changes from https://github.com/eiriktsarpalis/stj-schema-mapper/pull/5. The changes reimplement the component as a shim over the built-in schema exporter available in System.Text.Json v9, for targets that support it....
> Reopening to track SDK and docs work (feel free to close if this is tracked elsewhere and sorry for the noise in that case). This would be hard/impossible to...
### Describe the issue or suggestion Creating an issue to track creating new STJ conceptual docs in .NET 9, here's a list of key new features: - [x] Document [JsonSchemaExporter](https://github.com/dotnet/runtime/issues/102788)....
Creating this as a draft to solicit some initial feedback on the design. Fix https://github.com/dotnet/extensions/issues/5546. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/extensions/pull/5557)
Currently `Microsoft.Extensions.AI.Abstraction` requires System.Text.Json version 8.0 whereas `Microsoft.Extensions.AI` is on 9.0, primarily due to the fact that it's hosting JSON schema generation services and `AIFunctionFactory`. This implies that any leaf...
The `AIContent` type uses `JsonDerivedTypeAttribute` to support polymorphic serialization which by design is constrained to the types defined within the M.E.AI.Abstractions assembly only. We should consider exposing a mechanism that...
The use of the term "shape" in the core abstractions is inherited from the F# TypeShape library. It was intended as a synonym to terms like "schema" or "spec", but...