Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何快速开始使用Langfuse的云服务?

2025-08-29 1.4 K

使用Langfuse云服务仅需4步即可完成基础接入:

  1. Register for an account:访问官网完成邮箱验证,免费套餐包含1K traces/月
  2. Project Initialization:登录后创建项目时需区分开发/测试/生产环境,建议按业务功能命名(如”customer-servicebot”)
  3. Key Configuration:在Project Settings中获取两组关键凭证:
    • PUBLIC_KEY:前端SDK使用
    • SECRET_KEY:服务端通信密钥(需妥善保管)
  4. SDK接入:Python项目安装pip install langfuse后,初始化代码示例:
    from langfuse import Langfuse
    langfuse = Langfuse(public_key="pk-lf-xxx", secret_key="sk-lf-xxx")

注意:生产环境建议立即设置IP访问限制和操作审计日志。

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish