feat: Support multiple vector database selection, add InMemory and Qdrant adapters, introduce admin dashboard

This commit is contained in:
shiyu
2025-05-31 21:01:37 +08:00
parent b2bacc54a9
commit 44d2616fd4
51 changed files with 5498 additions and 1214 deletions
@@ -0,0 +1,13 @@
using Foxel.Models;
using Foxel.Models.Response.Picture;
namespace Foxel.Services.Management;
public interface IPictureManagementService
{
Task<PaginatedResult<PictureResponse>> GetPicturesAsync(int page = 1, int pageSize = 10);
Task<PictureResponse> GetPictureByIdAsync(int id);
Task<bool> DeletePictureAsync(int id);
Task<BatchDeleteResult> BatchDeletePicturesAsync(List<int> ids);
Task<PaginatedResult<PictureResponse>> GetPicturesByUserIdAsync(int userId, int page = 1, int pageSize = 10);
}