- LangChain
- Pinecone
- Supabase
- clerk
git clone https://github.com/khanovico/LangChain-next-chatbot
cd LangChain-next-chatbot
yarn
mv .env.example .env
- Assuming you already have a Pinecone Account, you will need the index name of your vectors data and your Pinecone API and Pinecone Environment.
- Create an account
- Create a new project
- Add a new table named "conversations" with the following columns: user_id (type: text), entry (type: text), speaker (type: text)
- Create an account
- Create a new project
- You need to be familiar with Supabase and Clerk to access to full control of this project.
OPENAI_API_KEY=
PINECONE_API_KEY=
PINECONE_ENVIRONMENT=
PINECONE_INDEX_NAME=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_KEY=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
yarn dev