We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2296b42 commit 5f06633Copy full SHA for 5f06633
app/schemas/search.py
@@ -12,10 +12,11 @@ class SearchMethod(str, Enum):
12
HYBRID = "hybrid"
13
LEXICAL = "lexical"
14
SEMANTIC = "semantic"
15
+ MULTIAGENT = "multiagent"
16
17
18
class SearchArgs(BaseModel):
- collections: List[Any] = Field(default=[], description="List of collections ID")
19
+ collections: List[Any] = Field(description="List of collections ID", min_length=1)
20
rff_k: int = Field(default=20, description="k constant in RFF algorithm")
21
k: int = Field(gt=0, default=4, description="Number of results to return")
22
method: SearchMethod = Field(default=SearchMethod.SEMANTIC)
0 commit comments