Skip to content

Commit 1e27b68

Browse files
committed
minor cleanup
1 parent 5b73543 commit 1e27b68

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/hub/spaces-sdks-docker-langfuse.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Langfuse on Spaces
22

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.
3+
This guide shows you how to deploy Langfuse on Hugging Face Spaces and start instrumenting your LLM application for observability. This integration helps you to experiment with LLM APIs on the Hugging Face Hub, manage your prompts in one place, and evaluate model outputs.
44

55
## What is Langfuse?
66

@@ -46,9 +46,9 @@ To get started, click the button above or follow these steps:
4646

4747
### User Access
4848

49-
Your Langfuse Space is pre-configured to use Hugging Face OAuth for secure authentication, so you'll need to authorize `read` access to your Hugging Face account upon first login by following the instructions in the pop-up.
49+
Your Langfuse Space is pre-configured with Hugging Face OAuth for secure authentication, so you'll need to authorize `read` access to your Hugging Face account upon first login by following the instructions in the pop-up.
5050

51-
The Langfuse space _must_ be set to **public** visibility so that Langfuse API/SDK's can reach the app. This means that by default, _any_ logged-in Hugging Face user will be able to access the Langfuse space!
51+
The Langfuse space _must_ be set to **public** visibility so that Langfuse API/SDK's can reach the app. This means that by default, _any_ logged-in Hugging Face user will be able to access the Langfuse space.
5252

5353
You can prevent new users from signing up and accessing the space by setting the `AUTH_DISABLE_SIGNUP` environment variable to `true`. Be sure that you've first signed in & authenticated to the space before setting this variable else your own user profile won't be able to authenticate.
5454

@@ -60,7 +60,7 @@ Once inside the app, you can use [the native Langfuse features](https://langfuse
6060

6161
## Step 2: Use Langfuse
6262

63-
Now that you have Langfuse running, you can start instrumenting your LLM application to capture traces and manage your prompts.
63+
Now that you have Langfuse running, you can start instrumenting your LLM application to capture traces and manage your prompts. Let's see how!
6464

6565
### Monitor Any Application
6666

@@ -70,7 +70,7 @@ Langfuse maintains native integrations with many popular LLM frameworks, includi
7070

7171
### Example 1: Trace Calls to HF Serverless API
7272

73-
As a simple example, here's how to trace LLM calls to the HF Serverless API using the Langfuse Python SDK.
73+
As a simple example, here's how to trace LLM calls to the [HF Serverless API](https://huggingface.co/docs/api-inference/en/index) using the Langfuse Python SDK.
7474

7575
Be sure to first configure your `LANGFUSE_HOST`, `LANGFUSE_PUBLIC_KEY` and `LANGFUSE_SECRET_KEY` environment variables, and make sure you've [authenticated with your Hugging Face account](https://huggingface.co/docs/huggingface_hub/en/quick-start#authentication).
7676

0 commit comments

Comments
 (0)