1 write to TransformOptions
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonSchemaTransformCache.cs (1)
45
TransformOptions
= transformOptions;
6 references to TransformOptions
Microsoft.Extensions.AI.Abstractions (5)
Utilities\AIJsonSchemaTransformCache.cs (5)
17
/// to their corresponding JSON schemas transformed according to the specified <see cref="
TransformOptions
"/> policy. It is intended for use by <see cref="IChatClient"/>
46
_functionSchemaCreateValueCallback = function => AIJsonUtilities.TransformSchema(function.JsonSchema,
TransformOptions
);
47
_responseFormatCreateValueCallback = responseFormat => AIJsonUtilities.TransformSchema(responseFormat.Schema!.Value,
TransformOptions
);
59
/// <returns>The transformed JSON schema corresponding to <see cref="
TransformOptions
"/>.</returns>
70
/// <returns>The transformed JSON schema corresponding to <see cref="
TransformOptions
"/>.</returns>
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonSchemaTransformCacheTests.cs (1)
29
Assert.Same(options, cache.
TransformOptions
);