This topic was automatically generated from Slack. You can find the original thread here.
I’m sure this must get asked a lot but any plans to improve nodejs from 14 to a more recent version. I think lamda now supports 18?
This topic was automatically generated from Slack. You can find the original thread here.
I’m sure this must get asked a lot but any plans to improve nodejs from 14 to a more recent version. I think lamda now supports 18?
yes, completely hear you. We’re working on moving to 18 right now!
I don’t have an ETA but will share the GitHub issue where we’re tracking
saw your comment, so you’re primarily hoping to use LangChain?
If it helps, LangChain is currently supported in Python steps
Yes. I’d rather not use python if I can help it as no experience with it at all. Is it hard to set up using python (including using pinecone etc.)? @U02S7FH4T89
I tried importing pinecone
but was not successful:
Error
Command failed: python3 -m pip install --target=/tmp/__pdg__/dist/python -r requirements.txt --upgrade WARNING: The directory '/home/sbx_user1051/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. ERROR: Could not find a version that satisfies the requirement pinecone==0.1.0 (from versions: none) ERROR: No matching distribution found for pinecone==0.1.0 WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available. You should consider upgrading via the '/var/lang/bin/python3 -m pip install --upgrade pip' command.
I’ve tried adding both magic comments:
# pipedream add-package pinecone-client
# also tried this:
# pipedream add-package pinecone-client==2.2.1
import pinecone
import langchain
import openai
def handler(pd: "pipedream"):
print("Success!")
is there a way to import specific versions in python steps? It looks like it’s trying to import an arbitrary 0.1.0
version (not sure if this is the cause though)
but langchain and openai work fine, I found the langchain python docs better than the js one
thanks for having a look. My plan would be to use the hosted pinecone. I don’t really see pipedream as a place to persist the vector database. Just be interested in seeing a guide for a full langchain implementation.
thanks Matt, tracking here. And yes, you can install specific versions of packages using the following syntax:
# pipedream add-package pinecone-client==0.1.0