mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-04 09:42:57 +00:00
Co-authored-by: krut_ni <nils.kruthoff@dlr.de> Co-authored-by: Thorsten Sommer <mail@tsommer.org>
15 lines
371 B
C#
15 lines
371 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
public sealed class ContentStreamSseEvent
|
|
{
|
|
[JsonPropertyName("content")]
|
|
public string? Content { get; init; }
|
|
|
|
[JsonPropertyName("stream_id")]
|
|
public string? StreamId { get; init; }
|
|
|
|
[JsonPropertyName("metadata")]
|
|
public ContentStreamSseMetadata? Metadata { get; init; }
|
|
} |