docs: add AI extract content length limit (4000 chars) (#809)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Dream Hunter
2026-01-11 20:13:56 +08:00
committed by GitHub
co-authored by Claude Opus 4.5
parent 276093f113
commit a38a31a407
2 changed files with 8 additions and 0 deletions
@@ -24,6 +24,10 @@ Extraction results are automatically saved to the `metadata` field in the databa
| `ENABLE_AI_EMAIL_EXTRACT` | Text/JSON | Whether to enable AI email recognition feature | `true` |
| `AI_EXTRACT_MODEL` | Text | AI model name, choose from [models supporting JSON mode](https://developers.cloudflare.com/workers-ai/features/json-mode/#supported-models) | `@cf/meta/llama-3.1-8b-instruct` |
## Content Length Limit
To avoid AI model token limits, the maximum email content length for processing is **4000 characters**. Email content exceeding this limit will be truncated before AI analysis.
## Workers AI Binding
Configure Workers AI binding in `wrangler.toml`: