Replies: 1 comment 1 reply
-
Hey @SMM-99! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together. The error you're encountering, "setting an array element with a sequence," typically indicates that there is a mismatch in the expected shape of the embeddings when updating the index. This can happen if the embeddings generated by the Here are a few steps you can take to troubleshoot and resolve this issue:
By ensuring that the embeddings are consistent in shape and configuration, you should be able to resolve the inhomogeneous shape error. If the issue persists, further investigation into the specific embeddings and their generation process may be necessary. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
I have a
VectorStoreIndex
that I update with new documents:I also have this
chat_engine
built as follows:However, when I execute
chat_engine.chat(query)
, it throws the following error:setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (1315,) + inhomogeneous part.
If I do not update the index, it works fine.Beta Was this translation helpful? Give feedback.
All reactions