mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 20:19:22 +00:00
Add provider_id="faiss" to avoid
llama_stack_client.BadRequestError: Error code: 400 - {'detail': 'Invalid value: No provider specified and multiple providers available. Please specify a provider_id.'} using llama_stack_client
This commit is contained in:
parent
00613d9014
commit
432b036a11
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ client.tool_runtime.rag_tool.insert(
|
||||||
documents=documents,
|
documents=documents,
|
||||||
vector_db_id=vector_db_id,
|
vector_db_id=vector_db_id,
|
||||||
chunk_size_in_tokens=512,
|
chunk_size_in_tokens=512,
|
||||||
|
provider_id="faiss"
|
||||||
)
|
)
|
||||||
|
|
||||||
agent_config = AgentConfig(
|
agent_config = AgentConfig(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue