Canner / WrenAI

🚀 An open-source SQL AI (Text-to-SQL) Agent that empowers data, product teams to chat with their data. 🤘
https://getwren.ai/oss
GNU Affero General Public License v3.0
2.04k stars 211 forks source link

feat(wren-ai-service): optional attribute user_id for Langfuse metadata #625

Closed paopa closed 2 months ago

paopa commented 2 months ago

Before this PR, we used the project ID as the user ID for Langfuse. In our team discussion, we decided to include the project ID in the metadata and introduce an optional user_id attribute for API requests. We also ensured that the logic remains consistent.