mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
Fixes
This commit is contained in:
parent
3ce518322a
commit
47efd34458
1 changed files with 2 additions and 3 deletions
|
@ -199,8 +199,7 @@ def create_library_client(template="ollama"):
|
|||
|
||||
|
||||
client = (
|
||||
#create_library_client()
|
||||
create_http_client()
|
||||
create_library_client()
|
||||
) # or create_http_client() depending on the environment you picked
|
||||
|
||||
# Documents to be used for RAG
|
||||
|
@ -219,7 +218,7 @@ vector_providers = [
|
|||
provider for provider in client.providers.list()
|
||||
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
|
||||
vector_db_id = f"test-vector-db-{uuid.uuid4().hex}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue