6 instantiations of StringSyntaxAttribute
Microsoft.Extensions.AI.Abstractions (6)
ChatCompletion\ChatResponseFormat.cs (1)
36
[
StringSyntax
(StringSyntaxAttribute.Json)] string schema, string? schemaName = null, string? schemaDescription = null) =>
ChatCompletion\ChatResponseFormatJson.cs (1)
22
[
StringSyntax
(StringSyntaxAttribute.Json)] string? schema, string? schemaName = null, string? schemaDescription = null)
Contents\AudioContent.cs (1)
31
public AudioContent([
StringSyntax
(StringSyntaxAttribute.Uri)] string uri, string? mediaType = null)
Contents\DataContent.cs (2)
59
public DataContent([
StringSyntax
(StringSyntaxAttribute.Uri)] string uri, string? mediaType = null)
122
[
StringSyntax
(StringSyntaxAttribute.Uri)]
Contents\ImageContent.cs (1)
31
public ImageContent([
StringSyntax
(StringSyntaxAttribute.Uri)] string uri, string? mediaType = null)
8 references to StringSyntaxAttribute
Microsoft.Extensions.AI.Abstractions (8)
ChatCompletion\ChatResponseFormat.cs (1)
36
[StringSyntax(
StringSyntaxAttribute
.Json)] string schema, string? schemaName = null, string? schemaDescription = null) =>
ChatCompletion\ChatResponseFormatJson.cs (1)
22
[StringSyntax(
StringSyntaxAttribute
.Json)] string? schema, string? schemaName = null, string? schemaDescription = null)
Contents\AudioContent.cs (1)
31
public AudioContent([StringSyntax(
StringSyntaxAttribute
.Uri)] string uri, string? mediaType = null)
Contents\DataContent.cs (2)
59
public DataContent([StringSyntax(
StringSyntaxAttribute
.Uri)] string uri, string? mediaType = null)
122
[StringSyntax(
StringSyntaxAttribute
.Uri)]
Contents\ImageContent.cs (1)
31
public ImageContent([StringSyntax(
StringSyntaxAttribute
.Uri)] string uri, string? mediaType = null)
src\LegacySupport\StringSyntaxAttribute\StringSyntaxAttribute.cs (2)
16
/// <summary>Initializes the <see cref="
StringSyntaxAttribute
"/> with the identifier of the syntax used.</summary>
24
/// <summary>Initializes the <see cref="
StringSyntaxAttribute
"/> with the identifier of the syntax used.</summary>