5 instantiations of AudioContent
Microsoft.Extensions.AI.Abstractions.Tests (5)
ChatCompletion\ChatMessageTests.cs (3)
127
new
AudioContent
("http://localhost/audio"),
166
new
AudioContent
("http://localhost/audio"),
276
new
AudioContent
(new BinaryData(new[] { 3, 2, 1 }, options: TestJsonSerializerContext.Default.Options), "mime-type/4")
ChatCompletion\StreamingChatCompletionUpdateTests.cs (2)
94
new
AudioContent
("http://localhost/audio"),
139
new
AudioContent
("http://localhost/audio"),
7 references to AudioContent
Microsoft.Extensions.AI.Abstractions (4)
Contents\AIContent.cs (1)
10
[JsonDerivedType(typeof(
AudioContent
), typeDiscriminator: "audio")]
Contents\AudioContent.cs (3)
16
/// Initializes a new instance of the <see cref="
AudioContent
"/> class.
26
/// Initializes a new instance of the <see cref="
AudioContent
"/> class.
37
/// Initializes a new instance of the <see cref="
AudioContent
"/> class.
Microsoft.Extensions.AI.Abstractions.Tests (3)
ChatCompletion\ChatMessageTests.cs (2)
335
var
audioContent = deserializedMessage.Contents[3] as
AudioContent
;
Contents\AudioContentTests.cs (1)
6
public sealed class AudioContentTests : DataContentTests<
AudioContent
>;