Files
mchat/faiss/models.py
2026-04-10 11:55:00 +00:00

10 lines
200 B
Python

# models.py
from pydantic import BaseModel
from typing import List
class EmbeddingInput(BaseModel):
embedding: List[float]
class SearchInput(BaseModel):
embedding: List[float]
k: int = 5