这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@homanp
Copy link
Collaborator

@homanp homanp commented Jul 1, 2025

This pull request adds Traceloop integration to monitor LLM calls in the project. The changes include:

  1. Importing and initializing the Traceloop SDK
  2. Adding the @workflow decorator to the query_documents method for better insights

These changes will allow for better monitoring and debugging of LLM application execution through the Traceloop dashboard.

Note: The Traceloop SDK has not been installed as per the instructions. Make sure to install it using pip install traceloop-sdk before running the application.

To complete the setup, you'll need to:

  1. Set the TRACELOOP_API_KEY environment variable with your Traceloop API key
  2. Optionally set the TRACELOOP_BASE_URL if needed

Remember to review the Traceloop documentation for any additional configuration or best practices specific to your use case.

- Import and initialize Traceloop SDK
- Add @workflow decorator to query_documents method
- Update documentation for Traceloop setup
@homanp homanp added the claude Generated by Claude AI agent label Jul 1, 2025
@homanp homanp closed this Jul 15, 2025
@homanp homanp deleted the claude/add-traceloop-monitoring branch July 15, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude Generated by Claude AI agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants