diff --git a/README.md b/README.md index 7772a86..166cc0d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# langfuse-cli +# bto-langfuse-cli A set of CLI tools to interact with Langfuse, especially for prompt management. @@ -16,7 +16,7 @@ Or you can install it using pip if you have the package: pip install . ``` -The CLI command is named `langfuse-cli`. +The CLI command is named `bto-langfuse-cli`. ## Configuration @@ -46,7 +46,7 @@ The `promote` command allows you to copy a label from one version of all prompts **Command:** ```bash -langfuse-cli prompt promote [--apply] +bto-langfuse-cli prompt promote [--apply] ``` **Options:** @@ -56,20 +56,52 @@ langfuse-cli prompt promote [--apply] 1. **Dry run / Confirmation mode:** ```bash - langfuse-cli prompt promote dev uat + bto-langfuse-cli prompt promote dev uat ``` This will show a plan of which prompts will be updated (adding the `uat` label to all prompts that currently have the `dev` label) and ask for confirmation before applying. 2. **Auto-apply mode:** ```bash - langfuse-cli prompt promote dev uat --apply + bto-langfuse-cli prompt promote dev uat --apply ``` This will automatically update the labels for all prompts matching the source label. +#### Pull Prompts + +The `pull` command downloads prompts from Langfuse to your local filesystem based on a specific label. + +**Command:** +```bash +bto-langfuse-cli prompt pull