- Nodejs
- Express Js
- Typescript
- Langchain
- Chroma DB
- Pinecone
- Docker
- Clone the Repository
git clone https://github.com/olayinkaa/Nodejs-AI-Rag.git
cd Nodejs-AI-Rag- Install Dependencies
pnpm install- Environment Variables
Create a.envfile in the root directory:
PINECONE_API_KEY=""
PINECONE_INDEX="";
OPENAI_API_KEY=- Run the docker compose command to start/stop
# start
docker compose -f chroma-compose.yml up -d
# stop
docker compose -f chroma-compose.yml down- Run Development Server
pnpm run dev-
Application will run on: http://localhost:3000
-
Chroma DB will run on: http://localhost:8001 connection string is
http://server:8000