Found broken `/docs/prompts/` link. Please fix!
i m trying to fethc a prompt using getprompt as suggested
<img width="1043" height="166" alt="Image" src="https://github.com/user-attachments/assets/27ac96af-98ce-4fba-8f09-0038f0fb136d" />
The /docs/prompts/ link is currently broken and has been reported in the Langfuse documentation issues (source). For fetching prompts, the recommended approach is to use the SDK and, if you're integrating with Langchain, you can use:
const langchainChatPrompt = ChatPromptTemplate.fromMessages(
langfuseChatPrompt.getLangchainPrompt().map((m) => [m.role, m.content])
).withConfig({
metadata: { langfusePrompt: langfuseChatPrompt },
});
This lets you retrieve and use prompts managed in Langfuse with Langchain workflows (source). If you need more advanced prompt management, such as dynamic message placeholders, check the Message Placeholders guide (requires SDK ≥ 3.1.0 for Python or ≥ 3.38.0 for JS).
If you have a specific usage question about getprompt, let me know how you're calling it or what SDK/language you're using, and I can help further!
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
I cannot see the attached image, can you reupload it?