2 writes to Parts
Microsoft.Extensions.AI (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.RealtimeOtelMessage.g.cs (1)
79
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.RealtimeOtelMessage)obj).
Parts
= value!,
Realtime\OpenTelemetryRealtimeClientSession.cs (1)
374
Parts
= { new OtelGenericPart { Type = "audio_commit" } },
26 references to Parts
Microsoft.Extensions.AI (26)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OtelContext.RealtimeOtelMessage.g.cs (2)
78
Getter = static obj => ((global::Microsoft.Extensions.AI.RealtimeOtelMessage)obj).
Parts
,
113
global::System.Collections.Generic.List<object> __value_Parts = ((global::Microsoft.Extensions.AI.RealtimeOtelMessage)value).
Parts
;
Realtime\OpenTelemetryRealtimeClientSession.cs (24)
361
audioMessage.
Parts
.Add(new OtelBlobPart
383
responseMessage.
Parts
.Add(new OtelGenericPart
398
foreach (var part in itemMessage.
Parts
)
400
responseMessage.
Parts
.Add(part);
406
return responseMessage.
Parts
.Count > 0 ? responseMessage : null;
448
textAudioOtelMessage.
Parts
.Add(new OtelGenericPart
457
transcriptionOtelMessage.
Parts
.Add(new OtelGenericPart
466
errorOtelMessage.
Parts
.Add(new OtelGenericPart
483
foreach (var part in itemMessage.
Parts
)
485
responseOtelMessage.
Parts
.Add(part);
490
return responseOtelMessage.
Parts
.Count > 0 ? responseOtelMessage : null;
531
message.
Parts
.Add(new OtelGenericPart { Content = tc.Text });
535
message.
Parts
.Add(new OtelGenericPart { Type = "reasoning", Content = trc.Text });
540
message.
Parts
.Add(new RealtimeOtelToolCallPart
549
message.
Parts
.Add(new OtelToolCallResponsePart
558
message.
Parts
.Add(new OtelBlobPart
568
message.
Parts
.Add(new OtelUriPart
578
message.
Parts
.Add(new OtelFilePart
588
message.
Parts
.Add(new OtelGenericPart { Type = "vector_store", Content = vsc.VectorStoreId });
592
message.
Parts
.Add(new OtelGenericPart { Type = "error", Content = ec.Message });
597
message.
Parts
.Add(new OtelServerToolCallPart<OtelMcpToolCall>
610
message.
Parts
.Add(new OtelServerToolCallResponsePart<OtelMcpToolCallResponse>
647
message.
Parts
.Add(new OtelGenericPart
658
return message.
Parts
.Count > 0 ? message : null;