Talk to your obsidian notes
npm install
npm run dev
llamaindex has a bunch of old dependencies that are buggy because there are so many features.
So I suggest you go into node_modules/llamaindex/dist
and comment out any file that is giving you error messages.
I added this command in .zshrc to make it faster :
alias comment_out='sed -i ".bak" "s/^/\/\/ /"'
and then
comment_out node_modules/llamaindex/dist/storage/vectorStore/MongoDBAtlasVectorStore.js
also if ollama request is blocked because of CORS, you can do this :
export OLLAMA_ORIGINS="*"
- use an icon to open up the chatbot
- add number of documents indexed
- make the chat a drawer instead of a modal so that I can still read the document while we are loading
- enable enter key in the chat modal
- display loading bar when indexing in the status bar at the bottom.
- display a loading bar in chatbox
- make icon toggle when current file is indexed and hasn't been modified
- add a command to index all documents in the vault
- add a command to summarize a page
- add tool that can query the internet for information
- ability to ask questions within a page
- filter documents based on tags before starting the RAG conversation
- add editor command to rewrite selection with the llm
- add editor command to autocomplete the current line with llms
- use Promise.all(...) to insert all documents with a command
- button to copy conversation to a new page