When I attempt to get a prompt from
FIXED: Force reinstalling langfuse's python package seemed to do the trick
When I attempt to get a prompt from Langfuse, I'm getting the following error:
This is a self hosted version of Langfuse using the latest. The return json does have the type and the object
Prompt_Chat
has the property type
. Any ideas why I'd be getting this error?3 Replies
Environment:
- langfuse==2.27.1
- language: python
- docker file is up to date
JSON response
Oddly enough, even though the type in the json is "text", the code returns a
Prompt_Chat
object instead of a Prompt_Text
object
On top of that, I see that the Prompt_Chat
and Prompt_Text
objects do in fact have a type
propertyFIXED: force reinstalled langfuse's package did the trick