-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Still having an issue using FaissStore in AWS lambda #3941
Comments
🤖 Hello @PierrickI3! I'm Dosu, a friendly bot here to lend a hand with your LangChainJS journey. Think of me as your virtual sidekick while you're waiting for a real-life human maintainer. From solving bugs to answering your questions or even helping you become a contributor, I'm here to assist. Let's dive into your issue, shall we? The error message you're seeing is typically due to a mismatch between the environment where the To resolve this, you can try building your
This should ensure that If you're using Docker, you can use the Here's a Dockerfile example: FROM lambci/lambda:build-nodejs12.x
WORKDIR /app
COPY . .
RUN npm install
CMD ["zip", "-r", "package.zip", "."] You can build and run this Dockerfile to produce a Please let me know if this helps or if you need further assistance. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Well, I can't get it to work because I keep on getting this error now:
Here is my Dockerfile:
package.json
I also have a build script:
The entire process basically copies a few dependency files, starts a docker container with the lambda base image, runs However, I still get an error: How can I find out what the |
Any news about this? Would love to make it work in my lambda |
I ended up using |
I have tried the layer as proposed here: #1930 (comment)
However, I get a different error message (Invalid ELF header):
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: