Closed nebucaz closed 1 year ago
@nebucaz should be an easy fix, thanks for identifying this! Will patch shortly
@nebucaz if possible, could you try the branch in this PR and see if it works for you? OpenSearch is complicated to setup lol
No worries if you can't test, I'm fairly confident it should work fine
Bug Description
TypeError: Object of type RelatedNodeInfo is not JSON serializable
Version
0.6.34.post1
Steps to Reproduce
1) Create a directory
test-doc
with 2 text-files (a.txt, b.txt) each containing a single line of the paul-graham-essay 2) Start a docker-container with OpenSearch 3) Run the following Python script to create embeddings of the text in the two text files and use OpenSearch as a VectorIndexStore4) The Error is thrown at the last line, ocurring in the file 'opensearch.py' on line 121.
Relevant Logs/Tracbacks