Last Refactor Works for Improvement ...

This commit is contained in:
2026-10-29 14:17:11 +03:30
parent 07a3caa98f
commit d3ecc8feea
3 changed files with 38 additions and 38 deletions
+5 -5
View File
@@ -2,9 +2,9 @@ using xAiApi.Models;
using System.Threading;
using xAiModels.Models.Dtos;
using System.Threading.Tasks;
using xIdentityModels.Models;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using xIdentityModels.Models;
namespace xAiApi.Interfaces
{
@@ -83,24 +83,24 @@ namespace xAiApi.Interfaces
/// <summary>
/// List Ingested Documents of Owner ...
/// </summary>
/// <param name="ownerId"></param>
/// <param name="userInfo"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
Task<IList<XAiKnowledgeDocumentInfo>> LoadDocumentsAsync(
string ownerId,
XUserClaimsInfoDto userInfo = null,
CancellationToken cancellationToken = default
);
/// <summary>
/// Remove All Vectors of a Document ...
/// </summary>
/// <param name="ownerId"></param>
/// <param name="fileName"></param>
/// <param name="userInfo"></param>
/// <param name="cancellationToken"></param>
/// <returns>Count of Removed Vectors</returns>
Task<int> RemoveDocumentAsync(
string ownerId,
string fileName,
XUserClaimsInfoDto userInfo = null,
CancellationToken cancellationToken = default
);