Go to the content
DE Download
Pages of the documentation

Knowledge base

A knowledge base is a set of articles in your vault. Opfold can answer a question from them and name each source.

Where the articles are

  • Each project can have its own knowledge base in the folder llm-wiki of the project.
  • The vault can have one more knowledge base for knowledge without a project.

Each article is a Markdown file. You can read and change it like each other note.

The Knowledge area

Mode Use
Browse Read the articles of a knowledge base
Graph See the articles as points and their links as lines
Ask Ask a question
Settings Select the search model, build the search index, and set which files a knowledge base reads

In Browse, the button Update from sources starts an agent. The agent reads the new and changed sources and writes the articles.

Ask a question

  1. Open Knowledge and select Ask.
  2. Select one knowledge base, or each knowledge base.
  3. Write your question.

Opfold first searches the passages that fit your question. Then the agent answers only from those passages. The answer ends with References: a list of the articles that it used. Select a reference to open the article.

When no passage fits, Opfold says so and starts no agent.

Keep a good answer

Select Save as an article above an answer. Opfold opens a chat session with a prepared message that asks the agent to write the answer into the knowledge base. You read the message and send it.

The link symbol in the file panel shows the notes that link to the open file, and the notes with a similar content.

Opfold compares the text of the open note with the passages of the other notes. It shows only the notes with a close match, so the list can be empty. The search reads the knowledge bases and the notes of the inbox folder and of the projects.

What the search needs

The search of the passages comes from the plugin Knowledge search. Without it, you can read the articles, but the Ask mode finds no passage.

After the first index, Opfold keeps the index up to date. It updates the index when the app starts and one minute after a change of a note. While an index update or an index build runs, a notice in the bottom right corner of the window shows it.

Search model

The search model turns each note into numbers that describe its meaning. Select the model in Knowledge, under Settings, in the section Knowledge search. The same section builds the index of each knowledge base.

Model Use
Standard, many languages The default. It understands German, English, and about 100 other languages.
Fast, English only A small model for English notes. It does not connect notes of different languages.
Best quality, many languages The best results, also across languages. It needs about 9 times more computing time and about 2 GB of memory. Use it on a fast computer.

A model change builds the whole index again. That can take from minutes to hours. During the rebuild, the search finds fewer notes. The first build with a new model downloads the model.