Screen.Recording.2023-04-02.at.10.45.56.AM.mov
This project is inspired by Notion Chat Langchain Mayo.
This repo uses vector embedding and turns your Obsidian notes into a chatbot.
- Clone the repo
- Install packages
pnpm install
- Set up your
.env
file
- Copy
.env.example
into.env
Your.env
file should look like this:
OPENAI_API_KEY=
PINECONE_API_KEY=
PINECONE_ENVIRONMENT=
- In the
config
folder, go intopinecone-index.ts
and replacePINECONE_INDEX_NAME
with the index name in your pinecone dashboard.
Create an Obsidian_Notes folder in root project and copy and paste your .md Obsidian notes into it.
Now we need to ingest
your docs. In very simple terms, ingesting is the process of converting your docs into numbers (embedding) that can be easily stored and analyzed for similarity searches.
npm run ingest
Run your local dev environment npm run dev
.
Use the search bar to ask a question about your docs.
Simple.
You can deploy this app to the cloud with Vercel (Documentation).
This repo is inspired by Notion Chat Langchain and notion-qa.