Lesson 5.2: Reading the log
Every request the assistant makes is recorded: who asked, which model answered, how long it took, what it cost and which versions it wrote. EI: Log is where editors check their own use and administrators the site's. This lesson reads it.
At a glance
| Course | Exponential Intelligence |
| Module | Module 5: Chains and the log |
| Duration | 30 minutes (10 presenting, 20 exercise) |
| Level | Intermediate |
| Audience | Editors; administrators with expai/log |
| Prerequisites | Lesson 5.1: the learner has made requests in this course |
Learning objectives
After this lesson, learners can:
- open EI: Log and switch between Requests and usage and Versions written;
- open a turn and its requests;
- filter by From, To, Action, Model, Provider, Region and Errors only, and Reset;
- export the filtered requests with Export CSV;
- say what the log never records.
Trainer's notes
How to present it
Sources: the dashboard and usage pages under EI: Help (extension/expai/doc/dashboard.md,
extension/expai/doc/usage-tracking.md).
- Two views (2 minutes). Requests and usage and Versions written. Editors see their own; with
expai/log, everyone's (the page says Everyone's activity.), with User ID and Node ID filters. - Turns (3 minutes). Requests are grouped into turns: one panel message, one field action, one Fill the fields,
with every request it led to. A turn opens to its requests and tool calls. Above them, totals, per day and (with
expai/log) per user. - Filters (3 minutes). Action (
panel,fill,field:write,field:rewrite,field:shorten,field:translate,field:suggest, and for administratorsprobeandtest), Model, Provider, Region, Errors only; Filter and Reset. Export CSV gives the filtered requests without request texts, with user ids only. - Privacy (2 minutes). Prompts, answers and keys are not part of the usage records by default; the audit trail never records them.
Common questions
Why do some requests have no price? The model has no price in the site's table; the page says how many and links to them.
Can I see what I typed? The draft log keeps a short summary of the request for a time; full requests are logged only where an administrator switched it on.
Who sees my requests? You, and holders of expai/log.
Pitfalls
- Exporting personal data. The CSV carries user ids; handle it as personal data.
- Reading one request as the cost of a turn. A turn can have several requests; open it.
Hands-on exercise
Use the training installation and your training account.
- Open EI: Log in the Dashboard tab's left column.
- Read the totals at the top. Write down your requests, tokens and estimated cost for this course so far.
- Open your newest turn and read its requests: model, time, tokens.
- Set Action to
field:shorten(or another action you used) and press Filter. Then Reset. - Tick Errors only and press Filter. Are there any? Read one if so.
- Switch to Versions written and find the drafts and versions the assistant wrote for you.
- Press Export CSV with a date filter for today, and open the file in a spreadsheet. Check that it has no request texts.
Expected result
- The learner's notes have their totals and one turn's details.
- The CSV opened and contained requests without request texts.
- The trainer checks by asking a learner to find a failed request (or explain why there is none).
Quiz
- Name the two views of EI: Log.
- What is a turn?
- Which policy shows everyone's requests?
A.
expai/writeB.expai/logC.expai/summaryD.expai/vector - What does Export CSV leave out?
- True or false: the audit trail records prompts and answers.
Answers
- Requests and usage and Versions written.
- One panel message, field action or Fill the fields, with every request it led to.
- B.
- The request texts; users appear as ids only.
- False. Prompts, answers and keys are never recorded there (expai).
Further reading
- expai: For administrators: usage, cost and audit.
- The usage tracking and audit trail pages under EI: Help.
Related pages
- Module 5: Chains and the log
- Exponential Intelligence: course overview
- Trainers: start here
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.