Elasticsearch Reader/Retriever

Hi there, I’m new to the forum and deeppavlov in general, but I’m wondering whether if it would be possible to have a reader/retriever of documents that can pass the query (say in a E-commerce chatbot example) to an Elasticsearch database. Is there such a functionality ? If not, from where should I extend ?
All the best,

Hey @tgalery, Thank you very for your interest!

I think you should start out by skimming this article Open-domain question answering with DeepPavlov | by Vasily Konovalov | DeepPavlov | Medium it’s slightly outdated but the idea is still the same.

Basically, you should re-implement the ranker component of the ODQA pipeline. In this component should run an elastic search based on your query.

Let me know if your need a further assistance.

I’ve tried to check out your medium post , but it’s behind a paywall. Is it posted anywhere ?