a CLI that lets you chat with your markdown notes
Project description
MDChat
A CLI tool that allows you to chat with your markdown notes. MDChat uses a large language model (LLM) and a method called "Retrieval Augmented Generation" to allow you to have intelligent conversations with an expert on your content.
The primary goal of this project is to be both easy to get started with and educational to what modern AI systems can achieve. There are lots of tools like this out there but, in my opinion, they get a bit too into the weeds on the tech or require too much setup.
Getting started
To get started with MDChat you just need to install it, configure it, and get to chattin!
pip install mdchat
Then you can point mdchat at your notes through th interactive config and select a model (GPT-4 is more accurate, GPT-3.5-turbo is much cheaper and faster)
mdchat config
After that's done, all you need to do is start a chat with your note! You can start a new chat thread with the following command:
mdchat chat
Key Features
- Allows you to "chat" with any folder of markdown files.
- Answers will include "sources" to the notes used in generating them.
- summarizing the most recent notes on a certain topic (given your notes are dated)
- summarizing what you've been working on in the last day, or week (given your notes are dated)
- Making novel connections on topics you previously hadn't thought were related
Contributing
MDChat is open-source and open to contributions! if you're looking to contribute to this project please:
- Create an issue to discuss your idea
- Fork this repo
- Create a new branch for your change
- Make the chnage discussed in your issue
- Send a pull request
Installing dependencies
poetry lock
poetry install
Running the CLI during development
poetry run mdchat <your-command>
Running tests
poetry run pytest
License
MDChat is released under the MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mdchat-1.0.3.tar.gz.
File metadata
- Download URL: mdchat-1.0.3.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4134e1e8e0a4317e32c7c0bf9cb65b05f71a0c6d8ec0a7538ae4247c6896b9d1
|
|
| MD5 |
af37638ddefb02d492dc203e547de282
|
|
| BLAKE2b-256 |
2928caf4b2aaee52e1a381032d686616347fbd6a8fba73f46e06e06545e28a88
|
File details
Details for the file mdchat-1.0.3-py3-none-any.whl.
File metadata
- Download URL: mdchat-1.0.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9727a0a52b3bdc4845b408a1b3dea7453c05ad2b92a03e86dc01380fbfa3be97
|
|
| MD5 |
e1c48c36285c00428d2e06383cfc12e6
|
|
| BLAKE2b-256 |
272c8cd760de2ba8d9a2b9dd5c7cb22aabe36aee7163904c6bcb839419dee55e
|