pawne4
pawne411mo ago

Openai integration, support for userId

i see. yep, i can work on this tomorrow
2 Replies
Marc
Marc11mo ago
Let me know if you run into issues!
pawne4
pawne411mo ago
hey there, got this to work in https://github.com/langfuse/langfuse-python/pull/164. I tested this in my dev environment and can confirm it works. Two questions: 1. In the unit tests, I'm not sure we could verify if the user ID got set in the trace. 2. If a user passes a traceID explicitly in chatCompletion calls, I'm also setting user_id there. I hope this is expected? https://github.com/langfuse/langfuse-python/pull/164/files#diff-49d72261d02f86af872f7ac11c08951bb167cd32f61b4ca5713b735720865569L115