trilium-chat icon indicating copy to clipboard operation
trilium-chat copied to clipboard

Brainstorming: chat with the whole trilium database using some kind of vectors

Open thfrei opened this issue 1 year ago • 4 comments

I like your approach. Having at least an openai interface within trilium and save stuff is useful.

Did you think about maybe do some knowledge retrieval with a vector database in the background? maybe we could create one vector for every note and save it as an attribute. so we could then actually chat with trilium.

There are some tools already like:

  • https://github.com/imartinez/privateGPT that do something like this, however with markdown and python and all.
  • Or maybe some inspiration here: https://github.com/gannonh/chatgpt-pgvector (using node.js)

thfrei avatar Sep 20 '23 20:09 thfrei