Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a default set of questions for the standalone RAG pipeline #1758

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/llm/rag/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def run():
"--question",
type=str,
multiple=True,
default=["What are some new attacks discovered in the cyber security industry?"] * 5,
help="The question to answer with the RAG pipeline. Specify multiple times to answer multiple questions at once.",
)
def pipeline(**kwargs):
Expand Down
2 changes: 1 addition & 1 deletion examples/llm/vdb_upload/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def run():
@click.option("--source_type",
multiple=True,
type=click.Choice(['rss', 'filesystem', 'doca'], case_sensitive=False),
default=[],
default=['rss'],
show_default=True,
help="The type of source to use. Can specify multiple times for different source types.")
@click.option(
Expand Down
2 changes: 1 addition & 1 deletion examples/llm/vdb_upload/vdb_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ vdb_pipeline:
force_convert_inputs: true
model_name: "all-MiniLM-L6-v2"
server_url: "http://localhost:8001"
use_shared_memory: true
use_shared_memory: false

pipeline:
edge_buffer_size: 128
Expand Down
2 changes: 1 addition & 1 deletion examples/llm/vdb_upload/vdb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def build_cli_configs(source_type,
"force_convert_inputs": True,
"model_name": embedding_model_name,
"server_url": triton_server_url,
"use_shared_memory": True,
"use_shared_memory": False,
},
"num_threads": num_threads,
}
Expand Down
Loading