Expand description
Local LLM content augmentation plugin. Local LLM content plugin.
Invokes a local LLM (Ollama, llama.cpp) at build time to auto-generate:
alttext for images missing itmeta descriptionfor pages where it’s empty or < 50 chars- JSON-LD
descriptionfields from page content
Configured via the [ai] section in ssg.toml:
[ai]
model = "llama3"
endpoint = "http://localhost:11434"Graceful fallback: if no LLM is reachable, logs a warning and skips.
Structs§
- AiFix
Report - Aggregated report from the agentic AI fix pipeline.
- AiFix
Result - Result of the agentic AI fix pipeline for a single file.
- Audit
Report - Aggregated readability audit report.
- File
Audit Result - Result of auditing a single file’s readability.
- LlmConfig
- Configuration for the LLM plugin.
- LlmPlugin
- Plugin that uses a local LLM to augment content at build time.
- Readability
Audit - Readability metrics for a text passage.
Enums§
- Readability
Formula - Readability formula selection based on content language.