With the OneTrust Developer Portal's LLMs.txt feature, AI assistants like ChatGPT or Claude can access structured metadata about our documentation. This ensures they:
- Understand our API's terminology and hierarchy
- Reference the most up-to-date information
- Avoid hallucinations or outdated answers
Location:
https://developer-onetrust-com.ezproxy.viu.ca/onetrust/llms.txt
Benefits
- Accuracy: AI models represent our documentation correctly
- Consistency: Maintains proper terminology and version info
- Relevance: Guides AI to the latest content
- Zero Maintenance: Automatically generated from our existing docs
How It Works
- LLMs.txt is a configuration file at the root of a site.
- It contains metadata about:
- Documentation structure (guides, API reference, recipes)
- Versioning details
- Important terminology
- AI tools that support LLMs.txt check this file before answering questions about our API.
Result: Developers get accurate answers—even when asking AI tools instead of reading docs directly.
Examples: How AI Tools Use It
MCP-Enabled Editor (Cursor)
{
"llmsPolicy": "https://developer-onetrust-com.ezproxy.viu.ca/onetrust/llms.txt"
}AI Connector Config
llms_txt_url: "https://developer-onetrust-com.ezproxy.viu.ca/onetrust/llms.txt"SDK Integration
LLMS_TXT_URL = "https://developer-onetrust-com.ezproxy.viu.ca/onetrust/llms.txt"
ai_client.set_policy(LLMS_TXT_URL)Why It Matters
- Better AI answers everywhere developers work
- No manual updates—always in sync with our latest docs