LLMs.txt
llms.txt is a plain text file, in Markdown, that tells AI assistants such as ChatGPT, Claude or Perplexity what your site contains. JoomRecipe can write two of them from your recipes:
| File | Address | Contains |
|---|---|---|
llms.txt |
https://yoursite.com/llms.txt |
A short index: your site name and description, your categories and cuisines with their recipe counts, up to 20 featured recipes, and the list of all recipes with a link and a short description. |
llms-full.txt |
https://yoursite.com/llms-full.txt |
Every recipe in full: details, times, servings and cuisine, and if you choose, the ingredients, the instructions, the nutrition facts and the notes. |
Only recipes that are published, validated and set to the Public access level are included.
Set it up
- Go to Components > JoomRecipe > LLMs.txt.
- In Settings, set Enable LLMs.txt to Yes.
- Enter the Site Name and a one- or two-sentence Site Description.
- Choose what goes in the files: Categories and Cuisines for the index, and under Include in Full File the Ingredients, Preparation/Instructions, Nutrition Facts and Notes.
- Set Maximum Recipes, from 10 to 10,000 (500 by default).
- Click Save Settings.
- Click Generate Now.
- Open
https://yoursite.com/llms.txtin your browser to check it.
The same settings are in Configuration > LLMs.txt.
Use Preview llms.txt and Preview llms-full.txt to see the content before you generate.
Keep the files up to date
The files are not rewritten on every change. When you save, delete or publish and unpublish recipes, the LLMs.txt page shows a Changes pending banner with the number of changes since the last generation. Click Generate Now to refresh the files.
The status cards show the number of Published Recipes, whether the files are Generated, when they were Last Generated, and the File Sizes (Index / Full).
How the files are served
The files are stored in media/com_joomrecipe/llmstxt/. The System - JoomRecipe plugin answers requests for /llms.txt and /llms-full.txt, so it must stay enabled. When Enable LLMs.txt is No, those addresses show your normal 404 page, even if the files exist.
If you already have an llms.txt file in your site's root folder, your web server serves that file instead. Delete or rename it to use the one from JoomRecipe.