mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fix: Adding chunk_size_in_tokens to playground rag_tool insert (#1826)
# What does this PR do? Adding chunk_size_in_tokens to playground rag_tool insert. # Closes #1825 ## Test Plan Tested locally. [//]: # (## Documentation) Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
37b6da37ba
commit
af6594f670
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ def rag_chat_page():
|
|||
llama_stack_api.client.tool_runtime.rag_tool.insert(
|
||||
vector_db_id=vector_db_name, # Use the user-provided name
|
||||
documents=documents,
|
||||
chunk_size_in_tokens=512,
|
||||
)
|
||||
st.success("Vector database created successfully!")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue