Search Scenes by Meaning¶
Find scenes by what they are about, not by the words they use. Type the scene where they argue about money, and Scrite lists the scenes closest to it in meaning, even if the word "money" is never said. Then go straight to a scene, or hand the scenes it found to a report.

Before You Begin¶
Searching by meaning needs an embedding model, which turns text into numbers that can be compared. It is configured separately from your main AI provider, because not every provider offers embeddings. Scrite currently uses Ollama for this. It runs on your computer, so your screenplay does not leave it for this.
IMPORTANT: If Ollama is not running, or no embedding model is installed, your screenplay cannot be indexed, and searching by meaning will not be possible. Everything else in this guide still works, but features that depend on search, such as finding the scenes an AI report should focus on, or letting a chat client, or AI Chat, find scenes by what they are about, will be limited to exact words.
To set it up, open the AI Search page: AI → AI Control Panel → Settings, or the Application tab of Scrite's Settings.

- Install Ollama, and pull an embedding model. See A model for search in Setting Up a Local LLM, which also says how much GPU memory it needs.
- In Scrite, open the AI Search settings and click Detect. Scrite finds installed models and picks the best one automatically.
- Click Test to confirm that it works.
If you change the embedding model later, run AI → AI Control Panel → Search Index again.
You don't need to generate scene summaries first. Scrite searches the text of your scenes as well as their summaries, so scenes that were never summarized are found too. Summaries help, because they say what a scene is about in plain words.
Running It¶
Click Search in the AI group of the toolbar, choose AI → AI Utilities → Search, or type search in the
Command Center.

It comes with the keyboard shortcut Ctrl+Shift+G (Cmd+Shift+G on a Mac), which shows up in the menu, as in the picture. Like the other actions, you can change it to a shortcut of your choice.
The dialog opens with a box for your description. The picture at the top of this chapter shows it after a search, with the reports menu open at the bottom. Both are explained further down.
- Describe what you are looking for in the box. A few words or a couple of sentences work equally well.
- Press Ctrl+Enter, or click Search. Plain Enter and Shift+Enter start a new line, as they do in any text box.
- The best matches are listed, closest first, up to 30 of them.
NOTE: The first time you search a screenplay, Scrite indexes it first, and then searches. A progress dialog shows while it works. This can take a little while for a long screenplay. After that, searches are quick.
Reading the Results¶
Each result is a scene, shown once, with
- its scene number and heading,
- whether the match came from the scene text or the scene's summary,
- a score, as a percentage, with a coloured dot, which says how close the scene is to what you described, and
- a short excerpt of what matched, so that you can tell if it is the scene you meant.
Above the list, Scrite says how many scenes matched.
The dot's colour shows how a result ranks among the others on the list: green for the best matches, then orange, and red for the weakest. They compare results with each other. They are not a grade of the search, so a list of all-red results can still hold the scene you want. If everything looks weak, try describing the scene differently.
If you are not happy with the results, consider using a better embedding model. The model decides
how well Scrite understands what a scene is about, and a larger one, or one that handles your language
better, can find scenes that a small one misses. bge-m3 is larger, and understands many languages,
including Indian ones. See A model for search for
the choices and what they need. After you change the model, click Detect and Test again in
the AI Search settings, and then index your screenplay again,
because results made by different models can't be compared.
Going to a Scene¶
Select a result and click Go to Scene. You can also double-click a result, or press Enter while the list has the keyboard. The dialog closes, and the scene opens in the screenplay editor.
Use the Up and Down keys to move through the results. After a search, the keyboard is on the list, so you can start moving at once.
Searching Again¶
When you change the words in the box, the button goes back to Search, because the results on the screen belong to what you searched for earlier. Press it, and the list is replaced.
Come Back Where You Left Off¶
The dialog remembers your last search. When you open it again, even after going to a scene, it shows the same words, the same results and the same selected result, so that you can step from one scene to the next without searching again. It is cleared when you open or start another screenplay.
NOTE: The results are remembered as they were found. If you have added, moved or deleted scenes since, scenes that are gone drop out of the list when it is shown again, but the scores and excerpts are those of the search. Search again to see them as they are now.
Using the Results in a Report¶
Click the reports button at the bottom of the dialog, to the left of Go to Scene, to use all the scenes on the list. It opens the menu that you can see in the picture above.
- AI Report opens the AI Report dialog for the whole story, with the words you searched for as the start of its instructions. Edit them as you like. It is written from the story summary, so generate one first with Story Summary if you haven't.
- The other entries are the reports that you can also reach from the Reports menu of a scene in the screenplay editor, such as the Screenplay Subset and the Two Column Report. Each opens its usual settings, with the scenes you found already chosen.
Keeping the Index Up to Date¶
The count at the bottom left says how many pieces of your screenplay can be searched. Once you have indexed a screenplay, Scrite keeps the index up to date as you write. Only the scenes that changed are looked at again.
If you ever want to rebuild it, click the refresh button at the bottom left. Do this after you change the embedding model, since vectors made by different models cannot be compared. The same action is under AI → AI Control Panel → Search Index.
NOTE: Indexing and searching wait while another AI workflow is running, because the embedding model and the model doing that work may compete for the same GPU. The dialog says so, and you can try again when it is done. You can't close the dialog while a search is running.
Tips¶
- Describe what happens, not just a keyword: "she finds out he lied about the money" finds more than "money".
- Names work, but meaning works better. Add what the scene is about along with who is in it.
- Search in the language you write in. A multilingual embedding model such as
bge-m3understands many languages, including Indian ones. - Summaries make results better. If a scene is long and has no summary, a few lines of it may stand for the whole scene. Generate scene summaries to improve this.
Where to Go Next¶
- Scene Analysis: give every scene a summary, to make results better.
- AI Reports: write a report about the scenes you found.
- AI Chat: let the AI find scenes by what they are about, as you talk.
- Maintenance: index your screenplay again, after you change the model.
- Setting Up a Local LLM: choose an embedding model, and what it needs.