MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / FaissAddRequest

Class FaissAddRequest

src/environment/faiss/types.py:16–20  ·  view source on GitHub ↗

Request for adding documents to FAISS.

Source from the content-addressed store, hash-verified

14
15
16class FaissAddRequest(BaseModel):
17 """Request for adding documents to FAISS."""
18 texts: List[str] = Field(..., description="List of texts to add")
19 metadatas: Optional[List[Dict[str, Any]]] = Field(None, description="Metadata for each text")
20 ids: Optional[List[str]] = Field(None, description="Custom IDs for each text")
21
22
23class FaissDeleteRequest(BaseModel):

Callers 9

_storeMethod · 0.90
add_documentsMethod · 0.90
_storeMethod · 0.90
_storeMethod · 0.90
test_edge_casesMethod · 0.90
test_error_handlingMethod · 0.90

Calls

no outgoing calls

Tested by 5

test_edge_casesMethod · 0.72
test_error_handlingMethod · 0.72