Files
AI-Studio/app/MindWork AI Studio/Provider/IResponseStreamLine.cs
T

19 lines
623 B
C#
Raw Normal View History

2025-01-04 14:11:32 +01:00
namespace AIStudio.Provider;
2025-09-03 10:08:04 +02:00
/// <summary>
/// A contract for a streamed response line that may contain content and annotations.
/// </summary>
public interface IResponseStreamLine : IAnnotationStreamLine
2025-01-04 14:11:32 +01:00
{
/// <summary>
/// Checks if the response line contains any content.
/// </summary>
/// <returns>True when the response line contains content, false otherwise.</returns>
public bool ContainsContent();
/// <summary>
/// Gets the content of the response line.
/// </summary>
/// <returns>The content of the response line.</returns>
2025-08-31 14:27:35 +02:00
public ContentStreamChunk GetContent();
2025-01-04 14:11:32 +01:00
}