moving order of parameters

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
Francisco Javier Arceo 2025-07-11 15:20:36 -04:00
parent 7ae99f33e7
commit 22f2484edc
5 changed files with 16 additions and 16 deletions

View file

@ -68,19 +68,19 @@ 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,
provider_vector_db_id: str | None = None,
vector_db_name: str | None = None,
) -> VectorDB:
"""Register a vector database.
:param vector_db_id: The identifier of the vector database to register.
:param provider_vector_db_id: The identifier of the vector database in the provider.
:param embedding_model: The embedding model to use.
:param embedding_dimension: The dimension of the embedding model.
:param provider_id: The identifier of the provider.
:param provider_vector_db_id: The identifier of the vector database in the provider.
:param vector_db_name: The name of the vector database.
:returns: A VectorDB.
"""