9 references to Text
Microsoft.Extensions.AI.Abstractions (1)
SpeechToText\SpeechToTextResponse.cs (1)
73
public override string ToString() =>
Text
;
Microsoft.Extensions.AI.Abstractions.Tests (6)
SpeechToText\SpeechToTextClientTests.cs (2)
39
Assert.Equal(expectedResponse.
Text
, response.
Text
);
SpeechToText\SpeechToTextResponseTests.cs (3)
25
Assert.Empty(response.
Text
);
84
Assert.Empty(response.
Text
);
95
Assert.Equal(string.Concat(Enumerable.Range(0, contentCount).Select(i => $"text-{i}")), response.
Text
);
SpeechToText\SpeechToTextResponseUpdateExtensionsTests.cs (1)
72
Assert.Equal("Hello human, How are You?", response.
Text
);
Microsoft.Extensions.AI.Integration.Tests (1)
SpeechToTextClientIntegrationTests.cs (1)
41
Assert.Contains("gym", response.
Text
, StringComparison.OrdinalIgnoreCase);
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAISpeechToTextClientTests.cs (1)
100
Assert.Contains("I finally got back to the gym the other day", response.
Text
);