- Return Source Documents
- VectorStore QA
- LangChain TS Starter
- OpenAI Node
- Try one of the examples
- Use openai 4.0.0 — latest gives
_shims
error
The following environment variables are required to run the code:
OPENAI_API_KEY
- OpenAI API KeyPINECONE_API_KEY
- Pinecone API KeyPINECONE_ENVIRONMENT
- See Pinecone.io dashboard
Place the above in a .env
file in the root of the project.
-
To run this code in WebStorm, in the Run/Debug Configurations set node paramaters to:
--loader ts-node/esm
The above is done to support loading LangChain ESM modules.
-
OpenAI
text-embedding-ada-002
outputs 1536 dimensions
- LangChain Install
- LangChain Python QA Tutorial
- Langchain Tutorial For Typescript and Javascript Developers
- LangChain Tutorials
- LangChain Docs
- QuestionAnswer
- LangChain TypeScript Getting Started
- Pinecone Chunking Strategies
- Retrieval QA Chain
- NPM Pinecone Client
- Pincone NodeJS Client
- Pinecone Namespaces