Hi @dosu,
I am referring to the code of langchain for self-query retriever.
But when I try the below query it throws an error.

output1:

![image](https://github.com/langchain-ai/langchain/assets/68585511/9e2c3e51-bda9-4038-b261-1347cd8da7f8)


output2:

![image](https://github.com/langchain-ai/langchain/assets/68585511/236ac516-3cb3-4646-ae4e-a74156b31237)


both queries have the same meaning but there is a problem in response, 
where output1 is successful but output2 throws error.
What can be the reason?

_Originally posted by @anusonawane in https://github.com/langchain-ai/langchain/discussions/22313#discussioncomment-9604396_
Hi @dosu,
This is a GitHub Issue
repo:langchain
owner:langchain-ai
Title : Hi @dosu,
Issue date:

--- start body ---
Hi @dosu,
I am referring to the code of langchain for self-query retriever.
But when I try the below query it throws an error.

output1:

![image](https://github.com/langchain-ai/langchain/assets/68585511/9e2c3e51-bda9-4038-b261-1347cd8da7f8)


output2:

![image](https://github.com/langchain-ai/langchain/assets/68585511/236ac516-3cb3-4646-ae4e-a74156b31237)


both queries have the same meaning but there is a problem in response, 
where output1 is successful but output2 throws error.
What can be the reason?

_Originally posted by @anusonawane in https://github.com/langchain-ai/langchain/discussions/22313#discussioncomment-9604396_
--- end body ---
