Currently, the intercepted query logic assumes that the only QueryVectorBuilder implementation is a TextEmbeddingQueryVectorBuilder. However, this will soon not be the case. We want to add more query vector builders, such as the lookup query vector builder.
We need to update the intercepted the query logic to generalize how query vector builders are handled so that we can support more of them moving forward.
Currently, the intercepted query logic assumes that the only
QueryVectorBuilderimplementation is aTextEmbeddingQueryVectorBuilder. However, this will soon not be the case. We want to add more query vector builders, such as the lookup query vector builder.We need to update the intercepted the query logic to generalize how query vector builders are handled so that we can support more of them moving forward.