mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-03 03:54:24 +00:00
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
10 lines
431 B
C#
10 lines
431 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Tools.DocumentSegments;
|
|
|
|
/// <summary>
|
|
/// The contracts with which System.Text.Json writes the segments for a model and reads its answer, built at compile time.
|
|
/// </summary>
|
|
[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Metadata)]
|
|
[JsonSerializable(typeof(SegmentBatch))]
|
|
internal sealed partial class SegmentJsonContext : JsonSerializerContext; |