mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-13 13:32:38 +00:00
more fixes
This commit is contained in:
parent
bf59d26362
commit
e5a1cdf554
9 changed files with 43 additions and 146 deletions
|
|
@ -978,10 +978,10 @@ class OpenAIVectorStoreMixin(ABC):
|
|||
|
||||
async def openai_create_vector_store_file_batch(
|
||||
self,
|
||||
vector_store_id: str,
|
||||
params: Annotated[OpenAICreateVectorStoreFileBatchRequestWithExtraBody, Body(...)],
|
||||
) -> VectorStoreFileBatchObject:
|
||||
"""Create a vector store file batch."""
|
||||
vector_store_id = params.vector_store_id
|
||||
if vector_store_id not in self.openai_vector_stores:
|
||||
raise VectorStoreNotFoundError(vector_store_id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue