Skip to content

🗣️ soliloquy – Privately chat with and summarize PDFs using a local LLM.

License

Notifications You must be signed in to change notification settings

szmyty/soliloquy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗣️ soliloquy – Chat Privately with PDFs Using a Local LLM

Soliloquy lets you chat with and summarize PDFs using a local Ollama instance and Chainlit. All processing happens locally, ensuring privacy and control over your data.

🚀 Installation

Using pip

pip install soliloquy

Using Docker

docker run -p 8000:8000 szmyty/soliloquy

Using GitHub

pip install git+https://github.com/szmyty/soliloquy.git

🛠 Usage

from soliloquy import chat, summarize

summary = summarize("path/to/document.pdf")
print(summary)

response = chat("What is this document about?")
print(response)

⚙️ Local Development

1️⃣ Install Dependencies

pyenv install 3.11.6
pyenv local 3.11.6
poetry install

2️⃣ Start Ollama

./scripts/start_ollama.sh

3️⃣ Run the App

./scripts/run.sh

🧑‍💻 Contributing

See CONTRIBUTING.md.

📜 License

Distributed under the MIT License.

About

🗣️ soliloquy – Privately chat with and summarize PDFs using a local LLM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published