diff --git a/RAGFlowSharp/Api/IDatasetApi.cs b/RAGFlowSharp/Api/IDatasetApi.cs index 92b2347..9dbbd44 100644 --- a/RAGFlowSharp/Api/IDatasetApi.cs +++ b/RAGFlowSharp/Api/IDatasetApi.cs @@ -61,7 +61,7 @@ [JsonContent] Update.RequestBody requestBody ITask ListDatasets( // ITask ListDatasets( string? page = null, - string? pageSize = null, + [AliasAs("page_size")] string? pageSize = null, string? orderby = null, bool? desc = null, string? name = null, diff --git a/RAGFlowSharp/Dtos/Chunk/Retrieval.cs b/RAGFlowSharp/Dtos/Chunk/Retrieval.cs index d67faa0..cca2489 100644 --- a/RAGFlowSharp/Dtos/Chunk/Retrieval.cs +++ b/RAGFlowSharp/Dtos/Chunk/Retrieval.cs @@ -32,6 +32,7 @@ public class RetrievedChunk { public string Content { get; set; } = string.Empty; public string? ContentLtks { get; set; } + public string DatasetId { get; set; } = string.Empty; public string DocumentId { get; set; } = string.Empty; public string? DocumentKeyword { get; set; } public string? Highlight { get; set; }