5 instantiations of AudioContent
Microsoft.Extensions.AI.Abstractions.Tests (5)
ChatCompletion\ChatMessageTests.cs (3)
127new AudioContent("http://localhost/audio"), 166new AudioContent("http://localhost/audio"), 276new AudioContent(new BinaryData(new[] { 3, 2, 1 }, options: TestJsonSerializerContext.Default.Options), "mime-type/4")
ChatCompletion\StreamingChatCompletionUpdateTests.cs (2)
94new AudioContent("http://localhost/audio"), 139new 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)
335var audioContent = deserializedMessage.Contents[3] as AudioContent;
Contents\AudioContentTests.cs (1)
6public sealed class AudioContentTests : DataContentTests<AudioContent>;