mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fixed None to default of 10
This commit is contained in:
parent
764026c0d6
commit
2fb82c9ed0
1 changed files with 2 additions and 2 deletions
|
@ -256,9 +256,9 @@ class VectorIO(Protocol):
|
||||||
vector_store_id: str,
|
vector_store_id: str,
|
||||||
query: str | list[str],
|
query: str | list[str],
|
||||||
filters: dict[str, Any] | None = None,
|
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,
|
ranking_options: dict[str, Any] | None = None,
|
||||||
rewrite_query: bool | None = None,
|
rewrite_query: bool | None = False,
|
||||||
) -> VectorStoreSearchResponse:
|
) -> VectorStoreSearchResponse:
|
||||||
"""Search for chunks in a vector store.
|
"""Search for chunks in a vector store.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue