Skip to content

Commit af301c6

Browse files
committed
make query via CLI work again
1 parent 35f6634 commit af301c6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

llm-complete-guide/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ use for the LLM.
100100
When you're ready to make the query, run the following command:
101101

102102
```shell
103-
python run.py query "how do I use a custom materializer inside my own zenml steps? i.e. how do I set it? inside the @step decorator?" --model=gpt4
103+
python run.py query --query-text "how do I use a custom materializer inside my own zenml steps? i.e. how do I set it? inside the @step decorator?" --model=gpt4
104104
```
105105

106106
Alternative options for LLMs to use include:

llm-complete-guide/run.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@
136136
default=None,
137137
help="Path to config",
138138
)
139+
@click.option(
140+
"--query-text",
141+
"query_text",
142+
default=None,
143+
help="Query text",
144+
)
139145
def main(
140146
pipeline: str,
141147
query_text: Optional[str] = None,

0 commit comments

Comments
 (0)