H. Optimas
H. Optimas2mo ago

Locally hosted PrivateGPT + pgpt_python + Langfuse

I've got PrivateGPT and pgpt_python up and running and I've got Langfuse running locally as well. I'm having issues getting tracing to work. I'm assuming I needed pgpt_python working prior to using Langfuse but I could totally be wrong. I've got visual studio code open and am using the copy/paste from Setup Tracing (pending)\Python. My python skills are very rusty and I haven't worked with AI prior to a month ago when this project started. pgpt_python is working, I've been able to run a test script that gets a health check output. When I point pgpt_python to localhost:3000 after starting the Langfuse docker, health check breaks. I've also removed pgpt_python from the script and just tried the Langfuse SetupTracing\Python copy/paste. Am I missing something??
Solution:
I misunderstood documentation and was setting pgpt_python's base_url to port 3000 instead of 8001.
Jump to solution
4 Replies
Marc
Marc2mo ago
Please open a thread here with some example code on how you tried integrating langfuse with pgpt_python : https://langfuse.com/gh-support
H. Optimas
H. Optimas2mo ago
Will do thanks!
Solution
H. Optimas
H. Optimas2mo ago
I misunderstood documentation and was setting pgpt_python's base_url to port 3000 instead of 8001.
Marc
Marc2mo ago
Glad that you figured it out!