Skip to content

Commit 5f06633

Browse files
author
Julien Almarcha
committed
multiagent
1 parent 2296b42 commit 5f06633

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/schemas/search.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ class SearchMethod(str, Enum):
1212
HYBRID = "hybrid"
1313
LEXICAL = "lexical"
1414
SEMANTIC = "semantic"
15+
MULTIAGENT = "multiagent"
1516

1617

1718
class SearchArgs(BaseModel):
18-
collections: List[Any] = Field(default=[], description="List of collections ID")
19+
collections: List[Any] = Field(description="List of collections ID", min_length=1)
1920
rff_k: int = Field(default=20, description="k constant in RFF algorithm")
2021
k: int = Field(gt=0, default=4, description="Number of results to return")
2122
method: SearchMethod = Field(default=SearchMethod.SEMANTIC)

0 commit comments

Comments
 (0)