Using context
Context is what the AI interviewer knows about your product, pricing and policies. Add it in the editor under Edit, then Context.
How the AI uses context#
- Every conversation gets all of it. The AI receives your full context at the start of each conversation. It doesn't search it or pick parts.
- It answers respondents' questions. When a respondent asks about your product, the AI answers from your context and then returns to the interview. It quotes prices, dates and plan details exactly as written. If the answer isn't there, it says it can't answer right now.
- It informs the summary. The AI also uses your context when it writes the summary after each conversation.
Respondents often ask who reads their answers. The AI doesn't answer privacy questions unless your context covers them, so add a short note if you want it to.
Respondents can hear anything you add
The AI doesn't share your whole context on request, but it can repeat any part of it in an answer. Leave out anything you wouldn't tell a respondent.
Add text#
Open the form
In Context, click Add text.
Write the item
Fill in a Title (up to 255 characters) and the Text (up to 10,000 characters).
Save it
Click Add Text Item.
Text works well for pricing, plan names, feature names, known issues and refund policies. You can edit text items later.
Upload a file#
Click Add file, choose a PDF or DOCX file up to 20 MB, check the File Title and click Upload.
Diaform keeps only the text from the file and deletes the original, so you can't download or edit it later. To update a file, delete it and upload the new version. The text must be selectable: a scanned PDF that consists of images yields little or no text.
Size limits#
The AI measures text in tokens. A token is a short chunk of text, about three quarters of an English word. Each project has its own limit:
| Plan | Context per project | Roughly, in English |
|---|---|---|
| Trial, Starter, Pro | 30,000 tokens | 20,000 words |
| Business | 50,000 tokens | 34,000 words |
| Enterprise | 100,000 tokens | 68,000 words |
The Context usage bar shows how much you've used, and each item shows its own count.
- Every item has a minimum. Each item counts its text plus a 10% margin of at least 256 tokens. A one-line note still uses about 256 tokens, so combine short notes into one item.
- Word files count their formatting. A DOCX keeps its formatting as part of the text, so it can use more than its word count suggests. If space is tight, paste the text instead.
At the limit, Add text and Add file change to Limit reached. Your existing context keeps working. To add more, delete an item or change your plan.
Publishing changes#
Adding, editing or deleting context changes your draft. Preview uses the draft immediately, but respondents see the change only after you click Publish changes. Deleting an item frees space in the usage bar immediately, while your live project keeps using it until you publish.