4 writes to RawRepresentation
Microsoft.Extensions.AI.Abstractions.Tests (2)
SpeechToText\SpeechToTextResponseTests.cs (2)
115response.RawRepresentation = raw; 159RawRepresentation = new(),
Microsoft.Extensions.AI.OpenAI (2)
OpenAISpeechToTextClient.cs (2)
86response.RawRepresentation = translation; 100response.RawRepresentation = transcription;
8 references to RawRepresentation
Microsoft.Extensions.AI.Abstractions (2)
SpeechToText\SpeechToTextResponse.cs (1)
89RawRepresentation = RawRepresentation,
SpeechToText\SpeechToTextResponseUpdate.cs (1)
30/// only one slot for such an object available in <see cref="SpeechToTextResponse.RawRepresentation"/>.
Microsoft.Extensions.AI.Abstractions.Tests (4)
SpeechToText\SpeechToTextResponseTests.cs (4)
29Assert.Null(response.RawRepresentation); 56Assert.Null(response.RawRepresentation); 113Assert.Null(response.RawRepresentation); 116Assert.Same(raw, response.RawRepresentation);
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAISpeechToTextClientTests.cs (2)
97Assert.NotNull(response.RawRepresentation); 98Assert.IsType<AudioTranscription>(response.RawRepresentation);