Skip to content

Is it possible to run multiple queries in a query pipeline in Haystack version >2.0 ? #8703

Answered by Amnah199
kathy-lee asked this question in Questions
Discussion options

You must be logged in to vote

Hi @kathy-lee, Welcome to Haystack! 😊

In Haystack 2.0, processing multiple queries simultaneously with run_batch is not directly supported in the same way as older version.

The batch_size parameter in the SentenceTransformersTextEmbedder can optimize the embedding process by controlling how many queries are processed together during embedding. However, this does not translate into the pipeline accepting multiple queries.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kathy-lee
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants