-
Notifications
You must be signed in to change notification settings - Fork 58
Description
I see from this comment this feature may be coming already, but the attached issue was closed with the interim workaround.
For our use-case we have a multi-field dataset for example:
| source_doc | question | ref_answers |
|---|---|---|
| (full text) | What date was the agreement signed, in YYYY-MM-DD format? | 2024-04-09 |
| ... | ... | ... |
...Where the final LLM prompt would combine both the source document and the question, in a (constant) template. I could easily see more general use-cases with other fields too.
Today, we're hacking around fmeval by doing prompt fulfilment as a separate step before the library. It would be much better if fmeval is able to directly process raw multi-field datasets like this, by taking a prompt template that can reference arbitrary fields from the source record.
My reason for revisiting this was Claude v3's messages API, which means we're going to have to do more sophisticated fulfilment on our side to achieve the same effect.