Langfuse batch prompts api should return prompt configs as well #2684
Replies: 3 comments 14 replies
-
The I understand that being able to filter would be really useful here, what do you think about |
Beta Was this translation helpful? Give feedback.
-
Hey I'll check the PR tomorrow. Thanks!
…On Mon, Aug 5, 2024 at 20:30 Marc Klingen ***@***.***> wrote:
@ashutoshsaboo <https://github.com/ashutoshsaboo> aiming to merge the PR
later today or tomorrow, feel free to share any feedback you might have,
hope this solves for your use case (which sounds really exciting)!
—
Reply to this email directly, view it on GitHub
<#2684 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACLRHEKAVINIVAZSXQA2NKDZP6HRBAVCNFSM6AAAAABLEJGXRWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRUGQZDOOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hey @marcklingen , one follow up thing related to the above - one sort of a bit (major) miss that I see in Langfuse is that anyone can promote prompts to prod (like even non admins can promote prompts to prod). Ideally there should be an access control mechanism to only allow "admins" to promote prompts to prod. Else it can be a bit too risky. I might want to grant access to multiple people to play around with our data in Langfuse, but promoting things to prod and such critical access mechanisms should probably only be reserved for select members, be it admins or a new role. What do you think? Can this be added please? |
Beta Was this translation helpful? Give feedback.
-
Describe the feature or potential improvement
Currently
GET /api/public/v2/prompts
only returns a list of prompts, but doesn't return configs with it. It becomes tough to build applications with it, as the config can contain crucial metadata. For example, if I want a entire list of prompts that apply to a user based on say their country code, and multiple other params which are included in the metadata, then I can't do that. First getting all prompts, and then doing a specific prompt detail lookupGET /api/public/v2/prompts/{promptName}
will be too costly.Can this be please added? @marcklingen
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions