Open adhikari23 opened 3 months ago
Hi @adhikari23 , I formatted your code posting to allow for a better reading.
First thing is that it seems that you are missing an import:
from haystack_integrations.components.retrievers.opensearch import OpenSearchEmbeddingRetrieve
Looking at your error message it seems that there's a problem connection to your OpenSearch server. Can you connect to it in isolation, i.e.: outside of haystack?
Yes, I am able to connect to the opensearch server outside haystack.
Describe the bug Cannot connect to aws opensearch serverles. Here is the code snippet.
Error message
Expected behavior Retrieved documents
Additional context Add any other context about the problem here, like document types / preprocessing steps / settings of reader etc.
To Reproduce Steps to reproduce the behavior
FAQ Check
System: