Spaces:
Sleeping
Sleeping
Upload app/models/__init__.py with huggingface_hub
Browse files- app/models/__init__.py +33 -0
app/models/__init__.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Pydantic models for the RAG backend.
|
| 3 |
+
"""
|
| 4 |
+
from app.models.schemas import (
|
| 5 |
+
DocumentStatus,
|
| 6 |
+
ChunkMetadata,
|
| 7 |
+
DocumentChunk,
|
| 8 |
+
UploadRequest,
|
| 9 |
+
UploadResponse,
|
| 10 |
+
Citation,
|
| 11 |
+
ChatRequest,
|
| 12 |
+
ChatResponse,
|
| 13 |
+
RetrievalResult,
|
| 14 |
+
KnowledgeBaseStats,
|
| 15 |
+
HealthResponse,
|
| 16 |
+
)
|
| 17 |
+
|
| 18 |
+
__all__ = [
|
| 19 |
+
"DocumentStatus",
|
| 20 |
+
"ChunkMetadata",
|
| 21 |
+
"DocumentChunk",
|
| 22 |
+
"UploadRequest",
|
| 23 |
+
"UploadResponse",
|
| 24 |
+
"Citation",
|
| 25 |
+
"ChatRequest",
|
| 26 |
+
"ChatResponse",
|
| 27 |
+
"RetrievalResult",
|
| 28 |
+
"KnowledgeBaseStats",
|
| 29 |
+
"HealthResponse",
|
| 30 |
+
]
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|