🚀 Add feature: Implement content retrieval system with Milvus and Attu in docker-compose.yml with relevant environment variables

This commit is contained in:
François Pelletier 2025-05-11 14:21:57 -04:00
parent 082ca6c638
commit 41299d4bf1
14 changed files with 96 additions and 35 deletions

48
backend/app/models.py Normal file
View file

@ -0,0 +1,48 @@
from typing import Dict
from pydantic import BaseModel
class AnalysisRequest(BaseModel):
analysis_type: str
filters: Dict
class AnalysisResponse(BaseModel):
result: str
class ConversionRequest(BaseModel):
source_type: str
source_data: str
class ConversionResponse(BaseModel):
converted_data: dict
status: str
class ExportRequest(BaseModel):
filters: Dict
format: str
class ExportResponse(BaseModel):
export_url: str
status: str
class GenerateRequest(BaseModel):
prompt: str
class GenerateResponse(BaseModel):
content_url: str
status: str
class ImportRequest(BaseModel):
data: str
class ImportResponse(BaseModel):
status: str