Skip to content
/ lore Public

Knowledge base management stack using local LLM, Obsidian, and Raycast.

Notifications You must be signed in to change notification settings

elliotdes/lore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LORE

Knowledge base management stack. Using:

  • Local LLM
  • Obsidian
  • Raycast

The goal is to augment a local LLM with my own Obsidian notes. If I ask a question that is not yet covered in my notes, offer the ability to generate a note. This should be available quickly and without friction, hence the decision to use the Spotlight replacer, Raycast.

implementation

graph LR
    Q["User asks question"] -->r
    r["retrieve notes"] --> gd["grade notes"]
    r -.- db
    db[(Embeddings vector storage)]
    gd --> a["answer question"]
    a -->rn{Where there relevant notes?}
    rn -.->|True|e[Show answer]
    rn -.->|False|ui{does user want to generate note?}
    ui-.->|True|gn["generate note"]
    ui-.->|False|e
    gn -->e
Loading

Note format

I use a format I have taken to calling atomic notes.

An example may be:

what is postgres.md
---
tags: ['postgres', 'database']
---

PostgreSQL, often abbreviated as Postgres, is a powerful open-source
relational database management system (RDBMS) that allows you to store,
manipulate, and retrieve data efficiently. It's a popular choice for
building scalable and reliable databases, especially in the enterprise
environment.

TODO

  • Link to notes used
  • Actually create Obsidian note
  • Implement Raycast extension
  • Implement structured output

About

Knowledge base management stack using local LLM, Obsidian, and Raycast.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages