Advanced Knowledge Stack Settings

Fine-tune document processing and search quality

Learn how to optimize your Knowledge Stack's search accuracy and processing with these advanced settings.

Processing Settings

Chunk settings interface

Chunk settings interface

Access these settings by clicking the gear icon at the bottom of your Knowledge Stack:

Embedding Model

Choose how Msty understands your content:

  • Local: Private, offline processing
  • Remote: Enhanced accuracy via OpenAI
  • Click to see all configured models

Splitter Type

Choose how to divide your content:

  • Recursive Character: Like chapters in a book
    • Best for normal documents
    • Keeps paragraphs together
    • Works well with mixed content
  • Sentence: Like individual sentences
    • Perfect for technical docs
    • Keeps code blocks intact
    • Better for precise answers

Chunk Settings

Control how Msty processes your text:

  1. Chunk Size
    • Low: Quick, specific answers
    • Medium: Balanced (recommended)
    • High: More context
    • Highest: Full context
  2. Chunk Overlap
    • Low: Minimal connection
    • Medium: Good balance
    • High: Strong connection
    • Highest: Maximum context
  3. Ignore Small Chunks
    • Default: 50 characters
    • Filters out headers, footers
    • Skips single-line comments
    • Removes short metadata

Search Settings

Search settings interface

Search settings interface

Access these by clicking the sliders icon in the top right:

Results Control

  1. Number of Chunks
    • Default: 15 chunks
    • Adjust based on needs
    • More chunks = broader context
    • Fewer = focused answers
  2. Similarity Threshold
    • Low to Highest options
    • Controls match strictness
    • Higher = more precise matches
    • Lower = broader results

Jina AI Reranking

Enhance search accuracy:

  • Free API key from jina.ai/reranker
  • Improves result ranking
  • Better handles complex queries

Managing Changes

Compose and save buttons

Compose and save buttons

Save Options

  • Save Draft: Store unfinished work
  • Compose: Activate your stack
  • Three-dot Menu:
    • "Compose new changes": Update content
    • "Recompose Stack": Apply setting changes

When to Adjust Settings

  1. Content Issues
    • Long documents → Increase chunk size
    • Missing context → Increase overlap
    • Too much noise → Raise similarity threshold
    • Short answers → Add more chunks
  2. Performance Tips
    • Test with real questions
    • Change one setting at a time
    • Note what works best
    • Save successful configurations