Replies: 1 comment
-
thanks for raising this. This is a mostly langchain specific change, we could generalize it to {chat_history} across our prompt management integrations. Currently you can achieve this by manually adding the history within the returned chat message array at runtime. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature or potential improvement
Hi, I've bumped into a little lack of functionality when trying to use Langfuse UI for prompt management.
Issue
I want to store a prompt that could be described in Langchain terms like:
But I can't choose a placeholder "role" in the creation prompt panel:
![image](https://private-user-images.githubusercontent.com/13137917/335966566-eb9afb34-5f9d-4862-b7de-16023b035099.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI3MzY5NzUsIm5iZiI6MTcyMjczNjY3NSwicGF0aCI6Ii8xMzEzNzkxNy8zMzU5NjY1NjYtZWI5YWZiMzQtNWY5ZC00ODYyLWI3ZGUtMTYwMjNiMDM1MDk5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA0VDAxNTc1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxZmFhNjRlYWFiMWRmMjI4OTJkOGFlYzY3YjU5MmZlNDRlZGNjMTg3NmIxNWRmOWRkOWM0NTRkMDJkYjA0ZmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QAhBWBcTZeR_DCL_zCNVMn5k03vS71wqGf5_UJeVEMA)
Potential solution
Extend the role selector with the "placeholder" option.
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions