Caret enables you to work better in Obsidian.
Caret is a local-first, privacy preserving application. The only external network calls are to activate your license and use remote LLMs (although not required). I don't have any backend or servers for Caret, don't collect any telemetry, etc.
- Sparkle Icon: May render context incompletely if used immediately after editing a note on Canvas. Workaround: Allow a brief pause (Like 1 second) before using the sparkle icon.
- Color Coding: Highlighted canvas branches might retain the green color indefinitely if you don't click on the canvas before changing pages or exiting Obsidian.
- Might add a toggle to disable this if I can't fix it quickly
- I would avoid using this in heavily color coded graphs for now
- BRAT is the Beta Reviewers Auto-update Tool
- You can install this through the Community Plugins within Obsidian.
- Open up the BRAT Plugin
- Add the GitHub Personal Access Token from your confirmation email
- This enables read access to private Caret repo, which allows you to download the plugin
- Click Add Beta Plugin
- For repo enter:
jcollingj/caret
- You can choose whether you want to auto update the plugins or not! It might be useful while I'm rapidly iterating on this
- Go to Caret settings
- Enter the license you received in your email
- Click activate!
- Let me know if you have any issues at all with this please!
- Within your settings page open up the Caret settings
- Pick the model you want to use
- When you add API Keys you need to then reload the app for those changes to take effect. That's only for API keys. You can change the providers/models at any time without reloading.
- Note that there are a couple additional steps if you want to use ollama running locally
- Like ChatGPT, but local first and the output is stored directly in your vault as markdown files. Meaning every conversation is instantly searchable and can be used as input to other Caret features.
- Open this from the chat icon added to the side bar.
- This does create a new folder
caret/chats
and stores all chats in this - You can type
@
to bring up the at-command menu. This allows you to insert documents and use them as context
- Explore non-linear chats in the Obsidian canvas. Easily remix conversations by moving, linking, and unlinking nodes
- Use the node icon within the menu to add new nodes that are pre-formatted for user messages.
- Click the Sparkle icon for initiating new conversations.
- Incorporate block refs by just using them! Caret will grab the context automatically
-
- Within the canvas the nodes need to have a specific format for the chat to know which is which. Add a role xml tag with user in the middle to the beginning of text notes to make it be from the user.
- The format is
<role>user</role>
- The easiest way to do this is to just click the "Add Child" button the menu
- The format is
- Within the canvas the nodes need to have a specific format for the chat to know which is which. Add a role xml tag with user in the middle to the beginning of text notes to make it be from the user.
-
- Graph Navigation: Use
Mod + Arrow key
to navigate through nodes. (Note: Current limitations with multiple branches). - Node Creation:
Shift+Mod+Arrow Key
to create a new node in the specified direction. - Activate Sparkle:
Command + Shift + Enter
- Graph Navigation: Use
- Parallel Prompts
- You can save collections of prompts as special notes. You can then add these to the canvas, connect a node and sparkle! It will run all of the prompts stored in that note against your input node.
- The structure of parallel prompt note is as follows:
- Note Properties - Add two properties to the note.
caret_prompt
set toparallel_prompts
- This is text
prompts
this is a list of the prompts you will add in the notes
- Note Content - Add xml code blocks that contain an xml tag with the same name as what you listed in the
prompts
property. One code block per prompt. - So if I had a property called
best_season
my code block would look like:-
<best_season> Whats the best time visit the following location? </best_season>```
- I need to document this better!
- I'm also planning to add a view that will make creating these easier. Feel free to DM if you want to get started with this before I document it better/
-
- Note Properties - Add two properties to the note.
- Inline editing can be used in markdown files. Either use the command pallette or CMD+J when you have text selected. That text will be used as the context. Add the prompt and then choose append or edit.
- The LLM will generate a response. This is added into your existing file. It will be formatted as a janky diff for now. So you can see what the changes would be before you apply them
- Then use the command "Apply Diffs" to apply those changes if you want them
- There is a lot of work to be done with this. For now it's just basic usage.
- Your purchase of Caret is for life-time access and includes all future updates!
- I plan to maintain Caret as long as it's fun and profitable. I built Caret for myself first and continue to use it every day. Updates to Caret will be driven by my own usage and by the needs of early adopters (thank you for the support 🙏).
- I'm committed to maintaining Caret for the foreseeable future, but not forever. If at some point I decide to stop maintaining Caret I'm committed to open sourcing it.
- So to summarize: For $50 (or less), you get life-time access to Caret. If at any point I ever stop updating you and the community will have full access to the code itself. At that point anyone would be welcome to continue adding new features to it.
- If you're refund request is reasonable I'm down to refund.