NoteGenNOTEGEN.

Knowledge base

Configure LLM Wiki, RAG semantic search, and the material that conversations can reference.

If Settings → Knowledge base shows LLM Wiki and RAG semantic search, you can configure each feature and set the source preferences they share.

LLM Wiki

LLM Wiki uses a chat model to turn selected material into Markdown source summaries and topic notes. Choose material in a folder's details or a source menu, then start organizing. Wiki advanced settings and tasks lets you choose the model and output language, check usage, and review tasks. See Organize material with LLM Wiki.

Enable RAG semantic search to build vector indexes of original material. Knowledge search combines vector search, BM25 keyword ranking, and fuzzy matching. A reranker can refine the order of results.

  • The embedding model generates vectors. Add an embedding model under Model Services, then select it on the RAG card. See Model Configuration.
  • The reranker is optional. Choose a rerank model under RAG advanced settings, retrieval tests, and maintenance.

Online embedding providers receive text to index, and online rerankers receive search candidates. After changing the embedding model, click Rebuild under Index status.

Parameters

ParameterRangeEffect
Chunk size100–5000 charactersLarger chunks retain more context
Chunk overlap0–500 characters, with a cap based on chunk sizePreserves context between adjacent chunks
Result count1–10Controls how many results are returned
Similarity threshold0–1Filters low-similarity vector results
Rerank relevance threshold0–1Filters low-scoring results when a reranker is available

Rebuild the index after changing chunk settings. Use Retrieval test to inspect excerpts, matching methods, and result order. Clear retrieval indexes removes local vector and BM25 indexes while keeping Markdown files and local fuzzy search available.

Material and chat

Turn on Allow AI to reference other notes to let conversations retrieve relevant material as needed. Under Retrieval strategy and exclusions, you can adjust Agent's retrieval strategy and set source types and exclusions for both Wiki and RAG. Enter paths relative to the knowledge base root, such as drafts/.

For setup and verification steps, see Build and use a knowledge base.