Bowerbird Enhances Quote Verification and Citation Handling in NotebookLM
Bowerbird, an open-source NotebookLM tool, introduces a robust system for quote verification and citation handling, ensuring accuracy and transparency in the use of cited material.
Quote Verification and Citation Handling
Bowerbird, an open-source NotebookLM tool, introduces a robust system for quote verification and citation handling. Every quote is checked, and each citation in an answer carries the exact words it quotes. Bowerbird looks those words up in the source the citation names, whether in the cited passage or another passage of the same source, as a quote can span passage boundaries. A quote shortened with an ellipsis is only valid when each of its pieces is long enough to stand on its own and the pieces are close together. Users can click a citation to open the passage with the quoted words highlighted, or, for a PDF, the printed page, allowing them to judge for themselves. This approach ensures accuracy and transparency in the use of cited material.
Text Extraction and Search Functionality
Bowerbird enables text extraction and search across various document formats, leveraging structural cues like PDF bookmarks, HTML headings, and EPUB/Word hierarchies to organize content. Search functionality combines keyword matching via SQLite FTS5 (BM25) with semantic similarity using EmbeddingGemma vectors. These results are fused through weighted reciprocal rank, allowing queries phrased differently from the source to still find relevant passages. When a keyword match or semantic hit is found, neighboring text from the same section is also retrieved, ensuring context is preserved. Even if a source doesn't contain the top 8 results, it may still surface if it ranks highly overall, with its most relevant passage displayed. This approach ensures comprehensive and context-aware search without requiring exact phrasing.
Model Configuration and Local Setup
Model Configuration and Local Setup in Bowerbird begins with entering the model name in the Settings section. Users must prefix the model name with the provider (e.g., groq::model-name) to select a specific provider and paste the corresponding API key. These keys are stored in settings.toml, which is readable only by the user's account. The file is located at ~/.config/bowerbird/ on Linux and macOS, or %APPDATA%\bowerbird\ on Windows, or the path specified in $BOWERBIRD_CONFIG.
Local models are downloaded on first use into ~/.local/share/bowerbird/models (or %LOCALAPPDATA%\bowerbird\models on Windows). The initial download includes EmbeddingGemma 4-bit for search (200 MB) when the first source is added, OCR models (12 MB) for the first scanned PDF, and speech models when they are first used.
Installation and Server Configuration
Installation of Bowerbird requires specific dependencies on Debian or Ubuntu systems. First, install build tools and libraries using sudo apt-get install cmake clang libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev. Next, fetch PDFium with scripts/fetch-pdfium.sh and set the BOWERBIRD_PDFIUM_DIR environment variable to point to the extracted PDFium library. Then, run npm --prefix ui ci and npm --prefix ui run build to install and build the desktop app. Finally, start the server with cargo run --release -p bowerbird-server. The server generates a link with an access token for secure access.
The server listens on 127.0.0.1:7477 by default. Using --addr changes the listening address, but exposing the server to non-loopback addresses requires caution, as it relies solely on the token for protection. Additionally, links added through the server may only point to public internet resources unless the --allow-private-links flag is used.
Testing and Cross-Platform Compatibility
Bowerbird’s testing process emphasizes cross-platform compatibility and robustness. The Windows application is built from Linux using cargo-xwin, requiring tools like clang 19, lld, and llvm, as outlined in the scripts/windows.sh script. The resulting portable application is placed in dist/bowerbird-windows, including Bowerbird.exe and necessary dependencies like DirectML.dll and pdfium.dll.Testing is handled through a combination of Rust and JavaScript tools. Commands like npm --prefix ui run check and playwright install chromium ensure UI components are validated. End-to-end tests and live tests require the DEEPSEEK_API_KEY to interact with the default model, as noted in the project’s documentation.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.