4 writes to RawRepresentation
Microsoft.Extensions.AI.Abstractions.Tests (2)
SpeechToText\SpeechToTextResponseTests.cs (2)
114response.RawRepresentation = raw; 153RawRepresentation = new(),
Microsoft.Extensions.AI.OpenAI (2)
OpenAISpeechToTextClient.cs (2)
170response.RawRepresentation = audioTranscription; 238response.RawRepresentation = audioTranslation;
8 references to RawRepresentation
Microsoft.Extensions.AI.Abstractions (2)
SpeechToText\SpeechToTextResponse.cs (1)
83RawRepresentation = 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); 55Assert.Null(response.RawRepresentation); 112Assert.Null(response.RawRepresentation); 115Assert.Same(raw, response.RawRepresentation);
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAISpeechToTextClientTests.cs (2)
102Assert.NotNull(response.RawRepresentation); 103Assert.IsType<AudioTranscription>(response.RawRepresentation);