deepset-ai / haystack

:mag: AI orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.
https://haystack.deepset.ai
Apache License 2.0
17.49k stars 1.9k forks source link

Access to opensearch from haystack #2396

Closed Yafaa closed 2 years ago

Yafaa commented 2 years ago

Question I created an opensearch instance on aws ,so I wonder how I can access it from haystack apis ?

bogdankostic commented 2 years ago

Hi @Yafaa! When initializing an OpenSearchDocumentStore, you can provide a host (this would be your AWS endpoint), username and password. Like this, the OpenSearchDocumentStore connects to your OpenSearch instance on AWS.

Yafaa commented 2 years ago

This is my question, where I can get the endpoint ?

bogdankostic commented 2 years ago

This seems to depend if you use the standard endpoint or a custom endpoint. Please refer to AWS documentation regarding this.

julian-risch commented 2 years ago

Hi @Yafaa did you manage to solve your problem and can we close this issue then? Or do you still have problems to connect your opensearch instance running on aws with an OpenSearchDocumentStore of Haystack?

Yafaa commented 2 years ago

Yes it worked thanks!

SantiagoT1105 commented 1 year ago

Question:

I have an aws open search serverless instance, when I want to connect it with a Haystack OpenSearchDocumentStorage I have had problems not having the KNN plugin in that version of OpenSearch (2.0.2), someone has made a successful connection with the service Aws OpenSearch Serverless?