Skip to content

getPromptStateless received 403 error when using LangfuseWeb SDK #3977

Discussion options

You must be logged in to vote

Thanks for the feedback, getPromptStateless is an internal method which is not documented. You need to use import { Langfuse } from "langfuse" and authenticate with secret and public key to use getPrompt(). See this documentation section for more details: https://langfuse.com/docs/prompts/get-started#use-prompt

I'll create an issue as this is confusing and could be improved, thanks again for the feedback!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcklingen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants