Skip to content

Take chat history in consideration when running a prompt experiment #4452

Answered by marcklingen
benjtlv asked this question in Support
Discussion options

You must be logged in to vote

Great question and related to history placeholder in prompt management: https://github.com/orgs/langfuse/discussions/2210

For now, I'd suggest to add a {{history}} placeholder in your prompt template to add the message history via a variable in the dataset item input

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@j10sanders
Comment options

@j10sanders
Comment options

Answer selected by marcklingen
Comment options

You must be logged in to vote
3 replies
@marcklingen
Comment options

@j10sanders
Comment options

@marcklingen
Comment options

Comment options

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