langfuse-prompt-list
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLangfuse Prompt List
Langfuse提示词列表
List all registered prompts and their label status.
列出所有已注册的提示词及其标签状态。
Setup
配置
Set the following environment variables before use:
| Variable | Required | Description |
|---|---|---|
| Yes | Langfuse public key |
| Yes | Langfuse secret key |
| No | Langfuse host URL (default: |
使用前请设置以下环境变量:
| 变量 | 是否必填 | 描述 |
|---|---|---|
| 是 | Langfuse公钥 |
| 是 | Langfuse密钥 |
| 否 | Langfuse主机URL(默认值: |
When to Use
使用场景
- Checking the prompt list
- Verifying label assignments
- "What prompts are available?"
- 查看提示词列表
- 验证标签分配情况
- 查询“有哪些可用的提示词?”
Commands
命令
Get Prompt List
获取提示词列表
bash
npx tsx scripts/langfuse-prompt-list.tsbash
npx tsx scripts/langfuse-prompt-list.tsOutput Example
输出示例
Langfuse Prompts
================
Name Labels Version
-------------------------------------------------------------------------------------------------------------
answer-evaluation development v1
chat-system development, production v2
librarian-system development v1
thread-title (none) v1
Total: 16 promptsLangfuse Prompts
================
Name Labels Version
-------------------------------------------------------------------------------------------------------------
answer-evaluation development v1
chat-system development, production v2
librarian-system development v1
thread-title (none) v1
Total: 16 promptsLabel Status
标签状态
| Status | Description |
|---|---|
| In development, not released to production |
| Released to production |
| No labels | Initial state, needs label assignment |
| 状态 | 描述 |
|---|---|
| 处于开发阶段,未发布至生产环境 |
| 已发布至生产环境 |
| 无标签 | 初始状态,需要分配标签 |