This commit is contained in:
2026-10-27 05:56:08 +03:30
parent 9e82e05bfe
commit 058d8da780
4 changed files with 172 additions and 1 deletions
+27
View File
@@ -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;
}
}