diff --git a/.env.example b/.env.example index 5d231931..5a5f6429 100644 --- a/.env.example +++ b/.env.example @@ -75,3 +75,10 @@ LANGFLOW_SUPERUSER= LANGFLOW_SUPERUSER_PASSWORD= LANGFLOW_NEW_USER_IS_ACTIVE=False LANGFLOW_ENABLE_SUPERUSER_CLI=False + +# Langfuse tracing (optional) +# Get keys from https://cloud.langfuse.com or your self-hosted instance +LANGFUSE_SECRET_KEY= +LANGFUSE_PUBLIC_KEY= +# Leave empty for Langfuse Cloud, or set for self-hosted (e.g., http://localhost:3002) +LANGFUSE_HOST= diff --git a/docker-compose.yml b/docker-compose.yml index 2a73da89..3058bc71 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -110,7 +110,9 @@ services: ports: - "7860:7860" environment: - - LANGFLOW_DEACTIVATE_TRACING=true + - LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY:-} + - LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY:-} + - LANGFUSE_HOST=${LANGFUSE_HOST:-} - OPENAI_API_KEY=${OPENAI_API_KEY:-None} - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-None} - WATSONX_API_KEY=${WATSONX_API_KEY:-None} diff --git a/docs/docs/_partial-export-flows.mdx b/docs/docs/_partial-export-flows.mdx new file mode 100644 index 00000000..bbab64e6 --- /dev/null +++ b/docs/docs/_partial-export-flows.mdx @@ -0,0 +1 @@ +1. If you modified the built-in flows or created custom flows in your [OpenRAG Langflow instance](/agents), and you want to preserve those changes, then you must [export your flows](https://docs.langflow.org/concepts-flows-import) before starting this process. Afterwards, you can import your flows or reference the exported flow JSON as needed. \ No newline at end of file diff --git a/docs/docs/_partial-factory-reset-warning.mdx b/docs/docs/_partial-factory-reset-warning.mdx index 97f2ca7e..c1e11894 100644 --- a/docs/docs/_partial-factory-reset-warning.mdx +++ b/docs/docs/_partial-factory-reset-warning.mdx @@ -1,14 +1,11 @@ :::warning -This is a destructive action that does the following: +This is a destructive operation that does the following: -* Destroys all OpenRAG containers, volumes, and local images with `docker compose down --volumes --remove-orphans --rmi local`. -* Prunes any additional container objects with `docker system prune -f`. -* Deletes the contents of OpenRAG's `config` and `./opensearch-data` directories. -* Deletes the `conversations.json` file. +* Destroys all OpenRAG containers, volumes, and local images. +* Prunes any additional container objects. +* Deletes the contents of the `~/.openrag` directory _except_ for OpenRAG's `.env` file and the `/documents` subdirectory.

Destroyed containers and deleted data are lost and cannot be recovered after running this operation. - -This operation _doesn't_ remove the `.env` file or the contents of the `./openrag-documents` directory. :::