[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
0

Configure Feed

Select the types of activity you want to include in your feed.

TypeScript 100.0%
2 1 0

Clone this repository

https://git.vm.fail/andri.dk/pt-llamaindex-pdf-chat https://git.vm.fail/did:plc:7i3t5s24763zp5y63kl5srhb
ssh://git@knot1.tangled.sh:2222/andri.dk/pt-llamaindex-pdf-chat ssh://git@knot1.tangled.sh:2222/did:plc:7i3t5s24763zp5y63kl5srhb

For self-hosted knots, clone URLs may differ based on your setup.


README.md

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.