We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently each call to CompleteAsync<T> generates a schema:
CompleteAsync<T>
extensions/src/Libraries/Microsoft.Extensions.AI/ChatCompletion/ChatClientStructuredOutputExtensions.cs
Line 137 in a7e4f3b
This should be cached, e.g. via a ConditionalWeakTable associated with the corresponding JsonSerializer.
The text was updated successfully, but these errors were encountered:
To be clear, this should be reusing the same caching infrastructure used by the existing InferSchema helpers.
InferSchema
Sorry, something went wrong.
Only tangentially-related, you thought we should consider exposing some of that publicly, yes? If so, could you open an issue to track? Thanks.
Yes, given the current shape of function calling exposing these helpers to other implementers is almost mandatory.
FunctionCallHelpers
Being addressed in #5513
AIJsonUtilities
eiriktsarpalis
Successfully merging a pull request may close this issue.
Currently each call to
CompleteAsync<T>
generates a schema:extensions/src/Libraries/Microsoft.Extensions.AI/ChatCompletion/ChatClientStructuredOutputExtensions.cs
Line 137 in a7e4f3b
This should be cached, e.g. via a ConditionalWeakTable associated with the corresponding JsonSerializer.
The text was updated successfully, but these errors were encountered: