You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hub/spaces-sdks-docker-langfuse.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Langfuse on Spaces
2
2
3
-
This guide shows you how to deploy Langfuse on Hugging Face Spaces and start instrumenting your LLM application. This integreation helps you to experiment on Hugging Face models, manage your prompts in one place and evaluate model outputs.
3
+
This guide shows you how to deploy Langfuse on Hugging Face Spaces and start instrumenting your LLM application. This integration helps you to experiment on Hugging Face models, manage your prompts in one place and evaluate model outputs.
4
4
5
5
## What is Langfuse?
6
6
@@ -29,11 +29,11 @@ The Langfuse Hugging Face Space allows you to get up and running with a deployed
1.1. Create a [**new Hugging Face Space**](https://huggingface.co/new-space)
33
-
1.2. Select **Docker** as the Space SDK
34
-
1.3. Select **Langfuse** as the Space template
35
-
1.4. Enable **persistent storage** to ensure your Langfuse data is persisted across restarts
36
-
1.5. For a secure deployment, replace the default values of the **environment variables**:
32
+
### 1.1. Create a [**new Hugging Face Space**](https://huggingface.co/new-space)
33
+
### 1.2. Select **Docker** as the Space SDK
34
+
### 1.3. Select **Langfuse** as the Space template
35
+
### 1.4. Enable **persistent storage** to ensure your Langfuse data is persisted across restarts
36
+
### 1.5. For a secure deployment, replace the default values of the **environment variables**:
37
37
-`NEXTAUTH_SECRET`: Used to validate login session cookies, generate secret with at least 256 entropy using `openssl rand -base64 32`.
38
38
-`SALT`: Used to salt hashed API keys, generate secret with at least 256 entropy using `openssl rand -base64 32`.
39
39
-`ENCRYPTION_KEY`: Used to encrypt sensitive data. Must be 256 bits, 64 string characters in hex format, generate via: `openssl rand -hex 32`.
@@ -48,11 +48,11 @@ Now that you have Langfuse running, you can start instrumenting your LLM applica
48
48
49
49
We created a Gradio template space that shows how to create a simple chat application using a Hugging Face model and trace model calls and user feedback in Langfuse - without leaving Hugging Face.
To get started, clone the [Gradio template space](https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template) and follow the instructions in the [README](https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template/blob/main/README.md).
55
+
To get started, [duplicate this Gradio template space](https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template?duplicate=true) and follow the instructions in the [README](https://huggingface.co/spaces/langfuse/langfuse-gradio-example-template/blob/main/README.md).
0 commit comments