Module cms_ai_suggestion
headless_
lms_
chatbot
0.1.0
Module cms_
ai_
suggestion
Module Items
Structs
Constants
Functions
In crate headless_
lms_
chatbot
headless_lms_chatbot
Module
cms_
ai_
suggestion
Copy item path
Source
Structs
§
CmsParagraph
Suggestion
Input
Input payload for CMS paragraph suggestions.
CmsParagraph
Suggestion
Response
🔒
Structured LLM response for CMS paragraph suggestions.
Constants
§
SYSTEM_
PROMPT
🔒
System prompt for generating multiple alternative paragraph suggestions for CMS content.
USER_
PROMPT_
PREFIX
User prompt prefix; the concrete action instruction and paragraph will be appended.
Functions
§
action_
instruction
🔒
Returns a short human-readable instruction for the given action id. Used so the model sees a precise operation description instead of an opaque id, and so we can stress “only this, nothing else” per action.
generate_
paragraph_
suggestions
Generate multiple paragraph suggestions for CMS using an LLM with structured JSON output.