Skip to content

Commit

Permalink
Update CLI command in docs (#1970)
Browse files Browse the repository at this point in the history
change cli command from  to
  • Loading branch information
Eliotdoesprogramming authored May 24, 2024
1 parent 4ebfd59 commit 98b011f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/docs/administration/custom-component.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -391,13 +391,13 @@ The recommended way to load custom components is to set the _`LANGFLOW_COMPONENT

```bash
export LANGFLOW_COMPONENTS_PATH='["/path/to/components"]'
langflow
langflow run
```

Alternatively, you can specify the path to your custom components using the _`--components-path`_ argument when running the Langflow CLI, as shown below:

```bash
langflow --components-path /path/to/components
langflow run --components-path /path/to/components
```

Langflow will attempt to load all of the components found in the specified directory. If a component fails to load due to errors in the component's code, Langflow will print an error message to the console but will continue loading the rest of the components.
Expand Down
4 changes: 3 additions & 1 deletion docs/docs/administration/langfuse_integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ Langfuse is an open-source tracing and analytics tool designed for LLM applicati
Alternatively, you can run the Langflow CLI command:

```bash
LANGFLOW_LANGFUSE_SECRET_KEY=<your secret key> LANGFLOW_LANGFUSE_PUBLIC_KEY=<your public key> langflow
LANGFLOW_LANGFUSE_SECRET_KEY=<your secret key>
LANGFLOW_LANGFUSE_PUBLIC_KEY=<your public key>
langflow
```

If you are self-hosting Langfuse, you can also set the environment variable `LANGFLOW_LANGFUSE_HOST` to point to your Langfuse instance. By default, Langfuse points to the cloud instance at `https://cloud.langfuse.com`.
Expand Down

0 comments on commit 98b011f

Please sign in to comment.