xebia-functional/xef

Flatten messages in PromptBuilder

javipacheco opened this issue · 0 comments

When we are creating different messages with the same role, we should be able to flatten these messages to reduce the number of tokens sent to the AI