LatteAI
LatteAI is the assistant built into Espresso. It suggests what comes next as you type, changes text in place when you say what you want, and works on a whole project in a conversation. It runs on your Mac: nothing you write leaves it.
Topics
- Setting up LatteAI
- The two models
- Privacy
- LatteAI preferences
- Suggestions and edits in the editor
- The conversation
All of LatteAI's commands are in the Edit ⟩ LatteAI menu.
Setting up LatteAI
LatteAI needs a model, which Espresso downloads once. The first time you choose a LatteAI command, Espresso tells you that a download is required. Click Download & Install and the download starts, and the LatteAI preferences open so that you can watch it.
While a model is downloading, the LatteAI button in a project window's toolbar is a ring that fills. Click it to see the download in the preferences. You can go on working in the meantime; until the model is there, LatteAI shows no suggestions or hints. A download that was under way when you quit Espresso is taken up again the next time you open it. Cancel stops a download and discards what had arrived, and if a download stops by itself, Try Again restarts it.
LatteAI has no switch of its own. Once its model is on your Mac it is on, and you choose in the preferences whether it offers anything unasked.
LatteAI needs a Mac with at least 16 GB of memory. On a Mac with less, its commands say that LatteAI can't run on this Mac.
The two models
- LatteAI suggests as you type, edits in place, and answers questions about your project. It is a 4.3 GB download, and needs a Mac with 16 GB of memory.
- LatteAI Agent makes changes to your project when you ask in a conversation. It is a 21 GB download, and needs a Mac with 32 GB of memory; 48 GB is recommended.
LatteAI is the one everything needs. LatteAI Agent is optional: download it from the LatteAI preferences if you want the conversation to change files. Without it, the conversation answers questions only.
LatteAI Agent is large, so Espresso holds it in memory only while a conversation needs it. It loads when you begin to write a message and is released three minutes after the conversation was last used, when the last conversation is closed, about a minute after you leave Espresso for another app, and whenever your Mac runs short of memory. It is never released in the middle of its work. While it is loaded the conversation says how much memory it is using, beside a Release button that gives the memory back at once.
Models are kept in:
~/Library/Application Support/Espresso/LatteAI/Models/
To remove a model, click Remove… beside it in the LatteAI preferences. It is moved to the Trash.
Each version of Espresso uses the version of a model it was made for, and no other. If you keep more than one version of Espresso, each downloads its own, and the preferences show a line saying that models for other versions of Espresso are here too, with their size and a Remove… button.
Privacy
- The models run inside Espresso, on your Mac. Your text, your files and your questions are not sent anywhere.
- The only thing LatteAI fetches from the internet is the model itself, from Ixian's server.
- In a conversation LatteAI works inside the project's folder. It cannot reach the internet or run commands, and it never publishes: it prepares the files and you publish them.
- Each project's conversation is kept on your Mac, in
~/Library/Application Support/Espresso/LatteAI/Conversations/, until you start a new one.
LatteAI preferences
Choose Edit ⟩ LatteAI ⟩ LatteAI Settings…, or choose Espresso ⟩ Preferences… and click LatteAI.
- Suggest what comes next as I type: after a pause in your typing, shows in grey what LatteAI would write next. The same setting is Edit ⟩ LatteAI ⟩ Suggest as I Type.
- Show hints in the editor: shows LatteAI's mark beside selected text, and a line in an empty document that says what LatteAI can write there. The same setting is Edit ⟩ LatteAI ⟩ Show Hints in the Editor.
- LatteAI and LatteAI Agent: each model, whether it is downloaded, and a button to download or remove it.