Skip to content

Commit

Permalink
Provide a default set of questions for the standalone RAG pipeline (#…
Browse files Browse the repository at this point in the history
…1758)

* PR #1617 replaced the hard-coded questions with a command-line-flag, however it was not given a default value nor was it marked as a required flag.
* Set the original question as the default value for the flag

Requires #1755
Closes #1757


## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #1758
  • Loading branch information
dagardner-nv authored Jun 24, 2024
1 parent 039bcf2 commit b214137
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit b214137

Please sign in to comment.