/plushcap/analysis/vectara/vectara-rag-with-user-defined-functions-based-reranking

RAG with User-Defined Functions Based Reranking

What's this blog post about?

Vectara has introduced User-Defined Functions (UDF) based reranking to provide fine-grained control over search results. This feature allows users to specify their own logic for reranking search results based on metadata from retrieved documents. UDF reranking can be used in combination with other rerankers like Maximal Marginal Relevance (MMR) and Multilingual Reranker v1, allowing for chain reranking to achieve better control over the reranking process. The user-defined function can take advantage of various functions and operators supported by the API, including get(), mathematical functions, date and time functions, and if-else expressions.

Company
Vectara

Date published
Oct. 23, 2024

Author(s)
David Oplatka & Ofer Mendelevitch

Word count
1528

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.