Find answers from the community

Updated 5 months ago

Text replace

At a glance

The community member is looking for a recommended way to index a transformed text (e.g. a summary or title) and replace it with the original text upon retrieval, while keeping the original text from being indexed. A use case provided is indexing table summaries but returning the original tables. The comments suggest using a metadata replacement node postprocessor or implementing a custom postprocessor to process the retrieved nodes and replace their text.

Useful resources
Hi. What's the recommended way to index a transformation of a text (e.g. a summary, a title) and replace by the original text if retrieved? Constraint would be to have the original text not indexed. One use case would be to index table summaries but actually return the original tables after retrieval (but not index the original table, or at least have the tables not retrievable directly - only via their summaries). Thanks!
L
p
2 comments
πŸ‘ Will look into this. Thanks a lot Logan
Add a reply
Sign up and join the conversation on Discord