Chittrarasu's picture
deploy
57d02cb
raw
history blame contribute delete
217 Bytes
from pydantic import BaseModel
from typing import List, Dict
class SearchResult(BaseModel):
id: str
score: float
metadata: Dict[str, str]
class SearchResponse(BaseModel):
matches: List[SearchResult]