Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Error @ LangChain Code Node /w In-Memory Vector Store using getInputConnectionData('ai_vectorStore', 0); #10323

Open
nepomuc opened this issue Aug 7, 2024 · 2 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@nepomuc
Copy link

nepomuc commented Aug 7, 2024

Bug Description

When using this.getInputConnectionData('ai_vectorStore', 0); in an LangChain Code Node while an In-Memory Vector Store is connected to it, it results in the following error inside the In-Memory Vector Store:

{
  "errorMessage": "Internal error",
  "errorDetails": {},
  "n8nDetails": {
    "itemIndex": 0,
    "time": "8/8/2024, 1:17:08 AM",
    "n8nVersion": "1.52.2 (Self Hosted)",
    "binaryDataMode": "default",
    "cause": {}
  }
}

To Reproduce

  1. Create a LangChain Code Node
  2. Connect an In-Memory Vector Store to it
  3. Use this.getInputConnectionData('ai_vectorStore', 0)

Expected behavior

It should not return that error.

Operating System

Docker

n8n Version

1.52.2

Node.js Version

Database

SQLite (default)

Execution mode

main (default)

@nepomuc
Copy link
Author

nepomuc commented Aug 7, 2024

Background: I tried to use this upcerting approach but not with Pinecone but with the In-Memory Vector Store instead

@Joffcom
Copy link
Member

Joffcom commented Aug 8, 2024

Thanks for the report @nepomuc I have passed this on to our AI team and it has an internal reference of AI-271

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants