[READ-ONLY] Mirror of https://github.com/andrioid/pt-llamaindex-pdf-chat. Prototype using llamaindex, ollama (or openai) to parse and chat about files in a folder
471 B
andrllama1#
Install#
To install dependencies:
bun install
To run:
bun run index.ts
Setup LLM stuff#
If you want to use ollama you can keep as is. Maybe adjust the model. If you want to use OpenAI, just uncomment the llm settings for that and remove the ollama stuff.
Final words#
I'm moving on, so don't expect updates. But, this could be expanded to create a chatbot that only responds to questions about files in the storage.