mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 21:43:55 +00:00
reverting to original call order for a simpler change
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
56811a1483
commit
d361154102
6 changed files with 25 additions and 17 deletions
|
|
@ -68,11 +68,11 @@ class VectorDBs(Protocol):
|
|||
async def register_vector_db(
|
||||
self,
|
||||
vector_db_id: str,
|
||||
provider_vector_db_id: str,
|
||||
embedding_model: str,
|
||||
embedding_dimension: int | None = 384,
|
||||
provider_id: str | None = None,
|
||||
vector_db_name: str | None = None,
|
||||
provider_vector_db_id: str | None = None,
|
||||
) -> VectorDB:
|
||||
"""Register a vector database.
|
||||
|
||||
|
|
@ -82,6 +82,7 @@ class VectorDBs(Protocol):
|
|||
:param embedding_dimension: The dimension of the embedding model.
|
||||
:param provider_id: The identifier of the provider.
|
||||
:param vector_db_name: The name of the vector database.
|
||||
:param provider_vector_db_id: The identifier of the vector database in the provider.
|
||||
:returns: A VectorDB.
|
||||
"""
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue