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)
98RawRepresentation = response,
Microsoft.Extensions.AI.OpenAI (1)
OpenAIModelMapper.ChatCompletion.cs (1)
78RawRepresentation = openAICompletion,
18 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);
Microsoft.Extensions.AI.OpenAI.Tests (8)
OpenAISerializationTests.cs (8)
154Assert.Null(msg.RawRepresentation); 166Assert.Null(msg.RawRepresentation); 178Assert.Null(msg.RawRepresentation); 190Assert.Null(msg.RawRepresentation); 248Assert.Null(msg.RawRepresentation); 272Assert.Null(msg.RawRepresentation); 408Assert.Null(msg.RawRepresentation); 420Assert.Null(msg.RawRepresentation);