Vaibhav Upadhyay
Vaibhav Upadhyay
ValueError: Expected 2D array, got 1D array instead: array=[nan nan nan nan nan]. Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1)...
I tried restricting the operators given in the error message while creating the retriever chain. Similar to [this](https://github.com/langchain-ai/langchain/issues/7529) but it doesn't work either/
Hi @eyurtsev , thank you for your reply. If this support is dropped entirely from langchain-postgres, would it require manual handling of allowed_comparators for selfquery retriever going forward?
Hi @eyurtsev , Here is my use case: I use selfQuery retriever for my work as ` SelfQueryRetriever.from_llm( llm, vector_store, document_content_description, metadata_field_info, verbose=True, use_original_query=True, fix_invalid=True, ) ` I am guessing...
@sreenivasanm6 Are you facing trouble whille doing metadataretrieval using [Self Query retriever reference](https://python.langchain.com/docs/how_to/self_query/) ? I can see the metadata fields are working properly. It's just one param use_original_query while initialising...