Skip to content

How to change the elastic search configuration during runtime ? #5290

Answered by ZanSara
agemagician asked this question in Questions
Discussion options

You must be logged in to vote

I have seen in the "EmbeddingRetriever" class the "document_store" is optional, and the retrieve function has a "document_store" input, does that mean during run-time we can provide a different document_store to the retrieve pipeline?

Yes, you should be able to do so and that's the approach I recommend if you have different credentials for each user. However it's a fairly rare usecase, so if it doesn't work please let us know which difficulties you face!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@agemagician
Comment options

@silvanocerza
Comment options

@agemagician
Comment options

@ZanSara
Comment options

Answer selected by agemagician
@agemagician
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants