Last Refactor Works for Improvement ...
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user