An assistant for managing and talking to your files.
The app contains two agents: the Wizard and the Witch. It's mainly for personal use with Obsidian for college...
- Request an action to be done to your current directory. The wizard will execute the corresponding command for you.
- Examples of requests:
- List the files that were created after September 22, 2022.
- Replace all instances of "witch" in ./sorcery with "wizard".
- etc.
- Ask the witch a question about the contents of the files in your current directory. The witch will intelligently answer your question using the knowledge obtained from your files.
- The Chroma vector store is cached locally and configured to be recalculated if it's a new day.
- Note: as of now, only markdown features are supported.
- Examples of questions (given that the directory contains notes about computational photography):
- What did the professor say are the tradeoffs between Lagrangian vs Eulerian motion magnification in videos?
- How does Laplacian pyramid blending work?
- Which of the following properties apply to affine transformations? [...]
- etc.
- Clone the repo
- Store your Open AI key as an environment variable called
OPENAI_API_KEY
- Add an alias for
/src/main.py
to your.bashrc
so that you can call Sapphire from any directory - For me, this looked like
alias sapphire='python [my_path]/sapphire/src/main.py'
cd
into the cloned repo and runpip install -r requirements.txt
- Ingest images
- Support Latex