Skip to content

Commit 9f8e1e6

Browse files
committed
Refine AI prompt guidance for shortLocation formatting
1 parent c10857e commit 9f8e1e6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • app/src/workflows/luma-sync/steps

app/src/workflows/luma-sync/steps/ai.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function generateEventDraftWithAI({
4242
model: getGatewayModel(),
4343
schema: aiSuggestedEventSchema,
4444
system:
45-
"You convert Luma events to AllThingsWeb event records. Return realistic, concise values.",
45+
"You convert Luma events to AllThingsWeb event records. Return realistic, concise values. shortLocation must be a short street/company-style label (for example: 'Mux Office', 'Vercel', 'Market St') and must not be only a city name like 'San Francisco'.",
4646
prompt: `
4747
Given a Luma event and a deterministic fallback draft, return an improved AllThingsWeb event payload.
4848
@@ -51,6 +51,7 @@ Requirements:
5151
- Keep slug lowercase and URL-safe with hyphens only.
5252
- Tagline should be concise and usable as public event copy.
5353
- attendeeLimit must be a realistic positive integer.
54+
- shortLocation should be a concise street/company/venue label, not just city-only text.
5455
- For unknown optional address fields, return null.
5556
5657
AllThingsWeb required fields:

0 commit comments

Comments
 (0)