LanguageModelV4StreamPart
Namespace: E2E.Decision.Sdk
public sealed class LanguageModelV4StreamPartThe AI SDK’s LanguageModelV4StreamPart (language-model-v4-stream-part.ts) of the Gateway. The Gateway passes each part
through z.any(), so Json is the part as the Gateway sent it, unvalidated.
Inheritance: object
Properties
Section titled “Properties”public required JsonElement Json { get; init; }The part as the Gateway sent it. A response-metadata timestamp is still its ISO string here.
Value: JsonElement
Timestamp
Section titled “Timestamp”public DateTimeOffset? Timestamp { get; init; }The timestamp of a response-metadata part whose timestamp the Gateway sent as a string (upstream’s Date).
Value: DateTimeOffset?
public required string Type { get; init; }The type of the part, such as text-delta, finish, or raw; empty when the part has none.
Value: string
Warnings
Section titled “Warnings”public IReadOnlyList<SharedV4Warning>? Warnings { get; init; }The warnings of a stream-start part.