MetadataBuilder
#5702
Labels
2.x
Related to Haystack v2.0
P3
Low priority, leave it in the backlog
type:feature
New feature or request
See the proposal: #5540 and see feature request for Haystack v1
LLMs clients output strings, but many components expect other object types, and LLMs may produce output in a parsable format that can be directly converted into objects. Output parsers transform these strings into objects of the user’s choosing.
MetadataBuilder
. It takes the string replies and inserts them as metadata into the Documents that were originally passed to the LLM. I'm open to renaming this one, since the goal would be to output Documents with inserted metadata.For example, a PromptNode could be used to summarize a longer doc and the user would like to have the result inserted as metadata for that Document. There it would allow us to easily add category tags, sentiment, summaries (...) to docs that can be utilized later at query time (e.g. to filter down the search space efficiently or utilize the metadata for online retrieval/generation steps)
The text was updated successfully, but these errors were encountered: