Replies: 2 comments 1 reply
-
Hi @flefevre I've used the PromptHub component as reference to do the Langfuse prompt management integration:
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone! I used the code below to fetch prompts from Langfuse, and you can also use it to add prompts to Langfuse. All you need to do is replace the public key and the host inside the code, and add the secret key in the input field of the component. If you want to explore more functionalities with Langfuse, I recommend checking out the documentation here: Langfuse API Reference. the code : `import ssl ssl._create_default_https_context = ssl._create_unverified_context class LangfusePromptComponent(Component):
` |
Beta Was this translation helpful? Give feedback.
-
is there any example of component / code able to retrieve a prompt managed by Langfuse?
there a module in Langfuse that is able to make "prompt management"
the idea is to have an example where the system prompt or the message prompt comes from a call of langfuse prompt
see: https://langfuse.com/docs/prompts/get-started
Beta Was this translation helpful? Give feedback.
All reactions