mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-06 05:59:13 +00:00
set defaults so that stainless does not pick as required params
This commit is contained in:
parent
d55100d9b7
commit
764026c0d6
8 changed files with 41 additions and 41 deletions
|
@ -193,8 +193,8 @@ class VectorIO(Protocol):
|
|||
@webmethod(route="/openai/v1/vector_stores", method="GET")
|
||||
async def openai_list_vector_stores(
|
||||
self,
|
||||
limit: int = 20,
|
||||
order: str = "desc",
|
||||
limit: int | None = 20,
|
||||
order: str | None = "desc",
|
||||
after: str | None = None,
|
||||
before: str | None = None,
|
||||
) -> VectorStoreListResponse:
|
||||
|
@ -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 = 10,
|
||||
max_num_results: int | None = None,
|
||||
ranking_options: dict[str, Any] | None = None,
|
||||
rewrite_query: bool = False,
|
||||
rewrite_query: bool | None = None,
|
||||
) -> VectorStoreSearchResponse:
|
||||
"""Search for chunks in a vector store.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue