Configuration Options
GeoAIOptions extends GeoAIConfig from geo-ai-core with NestJS-specific fields.
Options reference
| Option | Type | Default | Description |
|---|---|---|---|
siteName | string | required | Site name for llms.txt header |
siteUrl | string | required | Canonical site URL |
provider | ContentProvider | Record<string, Resource[]> | required | Content source |
siteDescription | string | — | Optional site description |
crawlers | Record<string, 'allow'|'disallow'> | 'all' | — | Per-bot allow/disallow rules |
cache | CacheAdapter | string | — | Cache adapter or TTL string ('1h', '24h', '7d') |
crawlTracking | CrawlTrackingConfig | true | — | Enable crawl tracking |
isGlobal | boolean | false | Register as global module |
injectLinkHeader | boolean | false | Add Link header to all responses |
cacheMaxAge | number | 3600 | Cache-Control max-age in seconds |
registerController | boolean | true | Register built-in controller |
registerMiddleware | boolean | true | Apply built-in middleware |
generateTimeout | number | 30000 | Timeout (ms) for llms.txt generation |