Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /saichowdary007_docu-query /src /docuquery_ai /db /models.py
| from typing import Any, Dict, List | |
| from pydantic import BaseModel, Field | |
| class Document(BaseModel): | |
| id: str | |
| title: str | |
| content: str | |
| metadata: Dict[str, Any] | |
| embeddings: List[float] | |
| entities: List[Any] # Replace with specific Entity model later | |
| relationships: List[Any] # Replace with specific Relationship model later | |
| knowledge_triples: List[Any] # Replace with specific Triple model later | |
| class HybridQuery(BaseModel): | |
| text: str | |
| vector_weight: float = 0.7 | |
| keyword_weight: float = 0.3 | |
| filters: Dict[str, Any] = Field(default_factory=dict) | |
| databases: List[str] = Field(default_factory=list) | |
Xet Storage Details
- Size:
- 650 Bytes
- Xet hash:
- 4c8adf0ea336dc3c2fb3f86d7b78b44a3d4b25f5a64010100e1f976ac9d3804d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.