Library Search User Manual

Semantic Explorer — Left Panel Library Tab

The Library Search feature allows you to search across your collection of commentaries, dictionaries, and books. Access this feature via the Library tab in the left panel.

Need a starting point?

Click the Hints button at the bottom of the Library panel. It lists example questions grouped by task - click any example to drop it straight into the query box, then press Send.

Section 1: Title Selection

Selecting Individual Titles

The title list shows all available commentaries, dictionaries, and books from your commentaries/ folder. Each title displays its abbreviation and brief description.

To select individual titles:

  1. Scroll through the list or use the Search titles... box to filter
  2. Click on a title to select it - a plain click is enough, no Ctrl required
  3. Selected titles are highlighted in the list and stay highlighted when you click others
  4. The count label at the bottom shows "X selected"

To deselect a title:

  1. Click on the already-selected title again
  2. Or click None to clear the whole selection

Keep your picks in view

Tick Show selected only below the list to hide every title you have not chosen. This is handy after narrowing the list with the search box - review your picks, then untick the box to go back to browsing.

Your selection is remembered: the titles you pick are still selected the next time you open Semantic Explorer. Selections are stored by file, so they survive a refresh of the title list.

Selecting All Visible or None

Two buttons help you quickly manage selections:

Button Function
All Visible Selects every title currently shown - it respects the type filters, the title search and "Show selected only". Titles hidden by a filter keep whatever state they already had.
None Deselects all titles, including ones hidden by the filters

Filtering by File Type

Toggle buttons above the list filter by content type. Each button shows how many titles of that type were found, e.g. Comm (12). Hover over a button for its full name and file extension:

Button Description
Comm (.cmt) Commentaries - verse-by-verse explanatory notes
Dict (.dct) Dictionaries - topical reference articles
Book (.bk) Books - larger formatted works

Searching Within Titles

Use the Search titles... box to filter the list by keyword. This searches both the abbreviation and description fields.

Section 2: Search Options

Controls Overview

Control Function
Answer Style AI Summary: the LLM synthesizes results into a coherent answer
Raw Passages: display the matching passages from your library
Query Expansion Uses AI to expand your query with related terms for better recall
AI Query Rewrite (HyDE) Generates hypothetical answers to improve document retrieval
Compare Sources Evenly Gives every selected title an even share of the results for comparison queries

Answer Style

AI Summary vs Raw Passages

AI Summary: The LLM reads through all retrieved data chunks and generates a synthesized, coherent response that answers your question directly.

Raw Passages: You see the search results themselves - the text of each matching passage, headed by its reference and source. Clicking that reference opens the passage in the Commentary, Dictionary or Book panel of Bible Analyzer, so you can read the source in context.

When to use each setting:

Setting Best For
AI Summary Getting clear answers, understanding concepts, synthesized explanations
Raw Passages Researching specific phrases, seeing exact sources, comparing wordings

Section 3: Query Expansion and HyDE

Query Expansion

What it does

When enabled, the LLM analyzes your query and automatically adds related terms and concepts. For example, a query about "God's love" might be expanded to include "divine affection," "agape," "mercy," and other theological terms.

Benefits:

Best for:

AI Query Rewrite (HyDE)

What is HyDE?

HyDE (Hypothetical Document Embeddings) is a technique where the LLM first generates a hypothetical "ideal" answer to your question, then uses that generated text to find similar content in your library.

How it works:

  1. Your question is sent to the LLM
  2. The LLM generates a hypothetical response as if it were answering the question
  3. Both your original query and the hypothetical answer are converted to embeddings
  4. The system searches for documents similar to the generated answer

Benefits:

Best for:

Important Note

Both Query Expansion and HyDE require an LLM to be available. If you switch Answer Style to Raw Passages, these options will automatically be disabled as well.

Compare Sources Evenly

What it does

When enabled, the system ensures each selected source contributes roughly equal results to the output. This is particularly useful for comparative analysis.

Best for:

Section 4: How the LLM is Used

Understanding LLM Summarization

The AI Summary answer style uses a Large Language Model (LLM) - a neural network trained on vast text to understand and generate human language. In this application, the LLM runs locally on your machine via llama.cpp, processing the search results to generate a coherent response.

What the LLM Does:

  • Reads through all the retrieved data chunks from your commentaries
  • Synthesizes the information into a coherent, flowing answer
  • Connects related concepts across different sources
  • Presents the information in a readable, conversational format
  • Respects your Personal Profile settings to frame responses appropriately

What the LLM Does NOT Do:

  • It does not access its training knowledge to answer questions
  • It does not "know" commentary content from memory
  • It does not fabricate information not present in the retrieved chunks
  • It only works with the data you have in your library

The LLM acts as an intelligent synthesis engine - taking the raw search results and applying linguistic comprehension to present the information in a connected, understandable format. Think of it as a highly capable research assistant that can read through all your sources and summarize the key points.

Section 5: Search Examples

Basic Searches

What does Matthew Henry say about prayer?
Explain the Beatitudes
What is the meaning of Psalm 23?

Comparative Analysis (use Compare Sources Evenly)

How do different commentaries explain Romans 8:28?
Compare the views on baptism in these commentaries
What do the dictionaries say about covenant?

Using Query Expansion

God's mercy and compassion
The Christian life walk

Using HyDE for Complex Questions

How does the Old Testament foreshadow Christ?
What is the relationship between faith and works according to the commentaries?
Explain the theological significance of the Incarnation

Research Without Summarization

Find all mentions of "tithes" in the commentaries
What exact wording does MacArthur use for John 3:16?

Quick Reference

Task Settings Example Query
Get a clear answer Answer Style: AI Summary Explain the atonement
See raw data Answer Style: Raw Passages Find mentions of tithes
Broader recall Expansion: On God's love for sinners
Complex reasoning AI Rewrite (HyDE): On How does the OT foreshadow Christ?
Compare sources Compare Evenly: On Explain Romans 8:28
Select specific titles Click titles (no Ctrl needed); All Visible / Show selected only Only Matthew Henry + Barnes