winsoroaks
winsoroaks•9mo ago

Uncaught Error: Failed to insert or update a document in table "messages" because it does not match

👋 was the ConvexVectorStore updated recently? im following the example from https://stack.convex.dev/ai-chat-using-langchain-and-convex and ran into the error above. was able to fix it by adding response_metadata: v.optional(v.any()) to the schema
1 Reply
Michal Srb
Michal Srb•9mo ago
It's possible this is a change in LangChain that caused this.

Did you find this page helpful?