Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
AI Booking Suggestions
Parses a natural language prompt into a structured booking intent, including time window, duration, party size, desired amenities, resource type, and notes. Use the parsed fields to prefill the bookings search UI.
Authentication
Requires an authenticated customer session.
Query Parameters
The user’s natural language booking description. Example: “A meeting room for 10 with a projector next Tuesday 3–5pm”.
Response
Structured booking intent.
Resource type classification, e.g. “room|Meeting Room”.
Desired booking duration in minutes.
Response.timeConstraints.kind
Type of time constraint (e.g., fixed, range, recurring).
Response.timeConstraints.startISO
ISO 8601 start datetime.
Response.timeConstraints.endISO
ISO 8601 end datetime.
Response.timeConstraints.recurrence
Recurrence rule, if applicable.
Named location reference, if extracted.
Desired amenities (keys correspond to booking filters).
Response.flexibilityMinutes
Acceptable shift in start time, in minutes.
Optional budget indication.
Free-form notes extracted from the prompt.
Example Response
{
"Response": {
"resource_type": "room|Meeting Room",
"partySize": 10,
"durationMinutes": 120,
"timeConstraints": {
"kind": "fixed",
"startISO": "2025-10-07T15:00:00.000Z",
"endISO": "2025-10-07T17:00:00.000Z",
"recurrence": ""
},
"location": "Downtown",
"amenities": ["VideoConferencing", "Projector"],
"flexibilityMinutes": 30,
"budget": 0,
"notes": "Board presentation"
}
}
Usage in Portal
- Public Bookings – Day and duration shortcuts
src/views/public/bookings/components/DayAndDurationShortCuts.tsx (applies AI intent to querystring)
GET /api/public/ai/chats/{sessionId} – General-purpose assistant chat
GET /api/public/ai/tariffs – Plan suggestions by prompt
GET /api/public/ai/products – Product suggestions by prompt
Error Responses
The user is not authenticated.
Missing or invalid prompt.