mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-03 02:39:11 -05:00
refac
This commit is contained in:
@@ -9,8 +9,11 @@ class VectorItem(BaseModel):
|
||||
metadata: Any
|
||||
|
||||
|
||||
class QueryResult(BaseModel):
|
||||
class GetResult(BaseModel):
|
||||
ids: Optional[List[List[str]]]
|
||||
distances: Optional[List[List[float | int]]]
|
||||
documents: Optional[List[List[str]]]
|
||||
metadatas: Optional[List[List[Any]]]
|
||||
|
||||
|
||||
class SearchResult(GetResult):
|
||||
distances: Optional[List[List[float | int]]]
|
||||
|
||||
Reference in New Issue
Block a user