6 writes to RawRepresentation
Microsoft.Extensions.AI.Abstractions.Tests (4)
ChatCompletion\ChatMessageTests.cs (4)
224message.RawRepresentation = raw; 227message.RawRepresentation = raw; 230message.RawRepresentation = null; 233message.RawRepresentation = raw;
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
96RawRepresentation = response,
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
122RawRepresentation = response,
10 references to RawRepresentation
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatCompletion.cs (1)
141RawRepresentation = choice.RawRepresentation,
Microsoft.Extensions.AI.Abstractions.Tests (9)
ChatCompletion\ChatMessageTests.cs (9)
25Assert.Null(message.RawRepresentation); 52Assert.Null(message.RawRepresentation); 99Assert.Null(message.RawRepresentation); 220Assert.Null(message.RawRepresentation); 225Assert.Same(raw, message.RawRepresentation); 228Assert.Same(raw, message.RawRepresentation); 231Assert.Null(message.RawRepresentation); 234Assert.Same(raw, message.RawRepresentation); 241Assert.Null(message.RawRepresentation);