langfuse-prompt-list

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Langfuse Prompt List

Langfuse提示词列表

List all registered prompts and their label status.
列出所有已注册的提示词及其标签状态。

Setup

配置

Set the following environment variables before use:
VariableRequiredDescription
LANGFUSE_PUBLIC_KEY
YesLangfuse public key
LANGFUSE_SECRET_KEY
YesLangfuse secret key
LANGFUSE_HOST
or
LANGFUSE_BASE_URL
NoLangfuse host URL (default:
https://us.cloud.langfuse.com
)
使用前请设置以下环境变量:
变量是否必填描述
LANGFUSE_PUBLIC_KEY
Langfuse公钥
LANGFUSE_SECRET_KEY
Langfuse密钥
LANGFUSE_HOST
LANGFUSE_BASE_URL
Langfuse主机URL(默认值:
https://us.cloud.langfuse.com

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.ts
bash
npx tsx scripts/langfuse-prompt-list.ts

Output 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 prompts
Langfuse Prompts
================

Name                                         Labels                             Version
-------------------------------------------------------------------------------------------------------------
answer-evaluation                            development                        v1
chat-system                                  development, production            v2
librarian-system                             development                        v1
thread-title                                 (none)                             v1

Total: 16 prompts

Label Status

标签状态

StatusDescription
development
only
In development, not released to production
development, production
Released to production
No labelsInitial state, needs label assignment
状态描述
development
仅存在
处于开发阶段,未发布至生产环境
development, production
已发布至生产环境
无标签初始状态,需要分配标签