From 98b011f46d3a683ef3e038dd550fed5b42af7478 Mon Sep 17 00:00:00 2001 From: Eliot Zubkoff <46331312+Eliotdoesprogramming@users.noreply.github.com> Date: Fri, 24 May 2024 16:00:17 -0500 Subject: [PATCH] Update CLI command in docs (#1970) change cli command from to --- docs/docs/administration/custom-component.mdx | 4 ++-- docs/docs/administration/langfuse_integration.mdx | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/docs/administration/custom-component.mdx b/docs/docs/administration/custom-component.mdx index 6decb3833..e82c56851 100644 --- a/docs/docs/administration/custom-component.mdx +++ b/docs/docs/administration/custom-component.mdx @@ -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. diff --git a/docs/docs/administration/langfuse_integration.mdx b/docs/docs/administration/langfuse_integration.mdx index 81f06e787..363b146ee 100644 --- a/docs/docs/administration/langfuse_integration.mdx +++ b/docs/docs/administration/langfuse_integration.mdx @@ -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= LANGFLOW_LANGFUSE_PUBLIC_KEY= langflow + LANGFLOW_LANGFUSE_SECRET_KEY= + LANGFLOW_LANGFUSE_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`.