namespace AIStudio.Provider;
///
/// A chunk of content from a content stream, along with its associated sources.
///
/// The text content of the chunk.
/// The list of sources associated with the chunk.
public sealed record ContentStreamChunk(string Content, IList Sources)
{
///
/// Implicit conversion to string.
///
/// The content stream chunk.
/// The text content of the chunk.
public static implicit operator string(ContentStreamChunk chunk) => chunk.Content;
}