Using LLMs with MotherDuck
You can access the entire MotherDuck documentation in Markdown format at motherduck.com/docs/llms.txt. This file is designed to help Large Language Models (LLMs) with sufficiently large context windows answer questions about MotherDuck based on our official documentation.
Purpose
The llms.txt
file follows the emerging llmstxt.org standard for organizing documentation in a format optimized for AI assistants.
It helps tools like ChatGPT, LangChain agents, and other LLMs:
- Discover relevant information about MotherDuck’s features and capabilities
- Understand and explain MotherDuck’s SQL dialect (including DuckDB and MotherDuck-specific syntax)
- Assist with integration and setup questions
- Troubleshoot common issues more effectively
By pointing AI tools to our llms.txt
, you make it easier for them to provide accurate, up-to-date answers based on our official documentation.
Example Usage
To prompt an LLM with questions about MotherDuck:
- Copy the documentation contents from motherduck.com/docs/llms.txt
- Use the following prompt format:
Documentation:
{paste documentation here}
---
Based on the above documentation, answer the following:
{your question about MotherDuck}
Full Documentation
For more comprehensive content, you can also access motherduck.com/docs/llms-full.txt, which contains the complete text of all our documentation pages.
This approach helps ensure that AI assistants provide accurate, up-to-date information about MotherDuck's products and services.