48 references to Message
Aspire.Azure.AI.OpenAI.Tests (1)
Aspire.OpenAI.Tests (1)
Microsoft.Extensions.AI (5)
Microsoft.Extensions.AI.Abstractions.Tests (6)
Microsoft.Extensions.AI.AzureAIInference.Tests (6)
Microsoft.Extensions.AI.Integration.Tests (1)
Microsoft.Extensions.AI.Ollama.Tests (3)
Microsoft.Extensions.AI.OpenAI (3)
Microsoft.Extensions.AI.OpenAI.Tests (12)
OpenAIChatClientTests.cs (12)
191Assert.Equal("Hello! How can I assist you today?", response.Message.Text);
192Assert.Single(response.Message.Contents);
193Assert.Equal(ChatRole.Assistant, response.Message.Role);
538Assert.Equal("Hi! It's so good to hear from you!", response.Message.Text);
539Assert.Single(response.Message.Contents);
540Assert.Equal(ChatRole.Assistant, response.Message.Role);
637Assert.Equal("I’m doing well, thank you! What’s on your mind today?", response.Message.Text);
638Assert.Single(response.Message.Contents);
639Assert.Equal(ChatRole.Assistant, response.Message.Role);
1008Assert.Equal("I’m doing well, thank you! What’s on your mind today?", response.Message.Text);
1009Assert.Single(response.Message.Contents);
1010Assert.Equal(ChatRole.Assistant, response.Message.Role);
Microsoft.Extensions.AI.Tests (10)