| 50 | return_score: bool = False |
| 51 | |
| 52 | class Document(BaseModel): |
| 53 | id: str |
| 54 | contents: str |
| 55 | |
| 56 | @app.post("/search", response_model=Union[Tuple[List[Document], List[float]], List[Document]]) |
| 57 | async def search(request: QueryRequest): |
no outgoing calls
no test coverage detected