fixed None to default of 10

This commit is contained in:
Hardik Shah 2025-06-11 17:23:07 -07:00
parent 764026c0d6
commit 2fb82c9ed0

View file

@ -256,9 +256,9 @@ class VectorIO(Protocol):
vector_store_id: str,
query: str | list[str],
filters: dict[str, Any] | None = None,
max_num_results: int | None = None,
max_num_results: int | None = 10,
ranking_options: dict[str, Any] | None = None,
rewrite_query: bool | None = None,
rewrite_query: bool | None = False,
) -> VectorStoreSearchResponse:
"""Search for chunks in a vector store.