2026-09-09 16:43:37 +00:00
|
|
|
using AIStudio.Provider;
|
|
|
|
|
|
2025-01-13 18:51:26 +00:00
|
|
|
namespace AIStudio.Settings;
|
|
|
|
|
|
|
|
|
|
public interface IInternalDataSource : IDataSource
|
|
|
|
|
{
|
2026-09-09 16:43:37 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Which provider confidence level is required by this internal data source?
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ConfidenceLevel ConfidenceLevel { get; init; }
|
|
|
|
|
|
2025-01-13 18:51:26 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// The unique identifier of the embedding method used by this internal data source.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EmbeddingId { get; init; }
|
2026-09-09 16:43:37 +00:00
|
|
|
|
|
|
|
|
/// <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; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Optional number of tokens to overlap between consecutive chunks.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ChunkOverlapTokenLength { get; init; }
|
2025-01-13 18:51:26 +00:00
|
|
|
}
|