This commit is contained in:
fulvius31 2025-02-14 19:54:56 -06:00
parent 3ce518322a
commit 47efd34458

View file

@ -199,8 +199,7 @@ def create_library_client(template="ollama"):
client = ( client = (
#create_library_client() create_library_client()
create_http_client()
) # or create_http_client() depending on the environment you picked ) # or create_http_client() depending on the environment you picked
# Documents to be used for RAG # Documents to be used for RAG
@ -219,7 +218,7 @@ vector_providers = [
provider for provider in client.providers.list() provider for provider in client.providers.list()
if provider.api == "vector_io" if provider.api == "vector_io"
] ]
provider_id = vector_providers[0].provider_id # Use first available vector provider provider_id = vector_providers[0].provider_id # Use the first available vector provider
# Register a vector database # Register a vector database
vector_db_id = f"test-vector-db-{uuid.uuid4().hex}" vector_db_id = f"test-vector-db-{uuid.uuid4().hex}"