removing provider_ prefix

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
Francisco Javier Arceo 2025-07-10 09:19:34 -04:00
parent 36ca9543a5
commit 648db8408c
6 changed files with 12 additions and 12 deletions

View file

@ -19,7 +19,7 @@ class VectorDB(Resource):
embedding_model: str
embedding_dimension: int
provider_vector_db_name: str | None = None
vector_db_name: str | None = None
@property
def vector_db_id(self) -> str:
@ -72,7 +72,7 @@ class VectorDBs(Protocol):
embedding_dimension: int | None = 384,
provider_id: str | None = None,
provider_vector_db_id: str | None = None,
provider_vector_db_name: str | None = None,
vector_db_name: str | None = None,
) -> VectorDB:
"""Register a vector database.
@ -81,7 +81,7 @@ class VectorDBs(Protocol):
: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 provider_vector_db_name: The name of the vector database.
:param vector_db_name: The name of the vector database.
:returns: A VectorDB.
"""
...