Skip to content
GEO AI
AnalyzerCLIDocumentationSpecificationContact
Documentation

Getting Started

  • Introduction
  • Quick Start
  • Choose Your Package

GEO Specification

  • Overview
  • llms.txt
  • AI Metadata
  • Crawler Rules
  • Structured Signals
  • Scoring
  • Recommendations

Packages

  • GEO AI Core
  • GEO AI Next
  • GEO AI NestJSnew
  • NestJS — Module Setup
  • NestJS — Configuration
  • NestJS — Service API
  • NestJS — Middleware
  • NestJS — Guard
  • NestJS — Interceptor
  • NestJS — Decorators
  • NestJS — Content Provider
  • GEO AI Woo
  • GEO AI Shopify

Analyzer

  • Overview
  • Scoring
  • Recommendations

CLI

  • GEO AI CLI

Integrations

  • Laravelsoon

Reference

  • Configuration
  • API Reference
  • FAQ
DocsPackagesNestjsService

GeoAIService

Injectable service wrapping the geo-ai-core engine. Available via standard NestJS dependency injection once GeoAIModule is imported.

Injection

typescript
import { Injectable } from '@nestjs/common';
import { GeoAIService } from 'geo-ai-nest';

@Injectable()
export class MyService {
  constructor(private readonly geoAI: GeoAIService) {}
}

Methods

MethodReturnsDescription
generateLlms(full?, locale?)Promise<string>Generate llms.txt. Pass true for the full version with content, pricing, variants.
generateRobotsTxt()stringGenerate robots.txt directives for AI crawlers.
generateMetaTags()stringGenerate HTML meta tags for AI content discovery.
generateLinkHeader()stringGenerate HTTP Link header pointing to llms.txt.
generateJsonLd(resource?)objectGenerate JSON-LD structured data (Schema.org).
isAIBot(userAgent)string | nullDetect if a User-Agent belongs to a known AI bot. Returns bot identifier or null.
trackCrawl(request)Promise<void>Log an AI bot visit (GDPR-compliant, IP anonymized via SHA-256).
getEngine()GeoAIInstanceAccess the underlying geo-ai-core engine for advanced usage.
invalidateCache()Promise<void>Clear the GEO AI cache manually.
PreviousNestJS — ConfigurationNextNestJS — Middleware

On this page

  • Injection
  • Methods
GEO AI

AI Search Optimization

AnalyzerCLIDocumentationSpecificationContactPrivacy Policy

© 2026 GEO AI · Open Source · MIT License