mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-10 21:47:21 +00:00
Generated the JSON contracts of the stored data at compile time (#1148)
This commit is contained in:
1 parent
fc7399e81b
commit
e954881fda
75 files changed
+5437
-298
No files matched your search
@@ -15,21 +15,21 @@ public interface IIndexedDataSource : IDataSourceBase
|
||||
/// <summary>
|
||||
/// Which provider confidence level is required by this data source?
|
||||
/// </summary>
|
||||
public ConfidenceLevel ConfidenceLevel { get; init; }
|
||||
public ConfidenceLevel ConfidenceLevel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The unique identifier of the embedding provider used by this data source.
|
||||
/// </summary>
|
||||
public string EmbeddingId { get; init; }
|
||||
public string EmbeddingId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Optional maximum number of tokens per embedding chunk for this data source.
|
||||
/// A value of 0 means the embedding provider's setting is used.
|
||||
/// </summary>
|
||||
public int MaxChunkTokenLength { get; init; }
|
||||
public int MaxChunkTokenLength { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Optional number of tokens to overlap between consecutive chunks.
|
||||
/// </summary>
|
||||
public int ChunkOverlapTokenLength { get; init; }
|
||||
public int ChunkOverlapTokenLength { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user