mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 03:24:37 +00:00
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;
|