Skip to content

feat: add upcoming verse prediction feature (v2) - #52

Open
Chukwuebuka-2003 wants to merge 1 commit into
openbezal:mainfrom
Chukwuebuka-2003:feature/verse-prediction-v2
Open

feat: add upcoming verse prediction feature (v2)#52
Chukwuebuka-2003 wants to merge 1 commit into
openbezal:mainfrom
Chukwuebuka-2003:feature/verse-prediction-v2

Conversation

@Chukwuebuka-2003

Copy link
Copy Markdown

Summary

Add upcoming verse prediction feature that suggests which Bible verse might be referenced next during a sermon.

Changes

  • Add prediction module with VersePredictor (sequential, reading mode strategies)
  • Add Tauri command: predict_next_verses
  • Add usePrediction hook in frontend
  • Add Predict button to Preview panel
  • Add Suggest button to Queue panel

Prediction strategies

  • Sequential: next 1-2 verses in current chapter
  • ReadingMode: next verses when reading mode is active

Description

This PR adds a new verse prediction feature that helps users anticipate upcoming Bible references during live sermon transcription. When enabled, the feature:

  1. Tracks the current position in the sermon (from detected verses or reading mode)
  2. Predicts the next 1-2 sequential verses in the current chapter
  3. When reading mode is active, predicts upcoming verses in the passage
    Users can click "Predict" in the Preview panel or "Suggest" in the Queue panel to fetch predictions.

Type of change

  • New feature

Areas affected

  • Frontend (React / TypeScript)
  • Backend (Rust / Tauri commands)
  • Rust crate: rhema-detection

Checklist

  • I have tested this change locally
  • bun run typecheck passes (requires cmake for full build)
  • cargo clippy passes without warnings

Tested on

  • macOS

- Add prediction module with VersePredictor (sequential, reading mode strategies)
- Add Tauri command: predict_next_verses
- Add usePrediction hook in frontend
- Add Predict button to Preview panel
- Add Suggest button to Queue panel

Prediction strategies:
- Sequential: next 1-2 verses in current chapter
- ReadingMode: next verses when reading mode is active
@Jeezman

Jeezman commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@Chukwuebuka-2003 can you add a screen record of the app in action

@ejirocodes

Copy link
Copy Markdown
Member

Hi @Chukwuebuka-2003,can you record a demo of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants