last ...
This commit is contained in:
@@ -94,6 +94,16 @@ namespace xAiApi.Models
|
||||
/// Short Snippet of Chunk Text ...
|
||||
/// </summary>
|
||||
public string Snippet { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Knowledge Scope the Chunk Retrieved from (Null for Session Based Documents) ...
|
||||
/// </summary>
|
||||
public string Scope { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Knowledge Type of the Chunk ...
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -177,5 +187,22 @@ namespace xAiApi.Models
|
||||
public string MetadataMimeType { get; set; } = "mimeType";
|
||||
public string PromptName { get; set; } = "ChatWithDocuments";
|
||||
public string MetadataChunkIndex { get; set; } = "chunkIndex";
|
||||
|
||||
//
|
||||
// Knowledge (Persistent RAG) Limits ...
|
||||
/// <summary>
|
||||
/// Max Files Accepted in a Single Ingest Request (0 = Unlimited) ...
|
||||
/// </summary>
|
||||
public int MaxFilesPerIngest { get; set; } = 20;
|
||||
|
||||
/// <summary>
|
||||
/// Max Size of a Single File in Bytes (0 = Unlimited) ...
|
||||
/// </summary>
|
||||
public long MaxFileSizeBytes { get; set; } = 25 * 1024 * 1024;
|
||||
|
||||
/// <summary>
|
||||
/// Max Distinct Documents Allowed in a Non-Global Scope (0 = Unlimited) ...
|
||||
/// </summary>
|
||||
public int MaxDocumentsPerScope { get; set; } = 50;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user