Eventbuzz_Concierge/src/prompts/call2/speaker/speaker_bio_lookup.js

14 lines
792 B
JavaScript

module.exports = {
intent: 'speaker_bio_lookup',
usesSpeakerCards: true,
usesSessionCards: true,
promptlet: `
### INTENT TASK: speaker_bio_lookup
If DATA.isSpeakerList is true: briefly introduce the programme speakers from DATA.speakers (names + title/org). Set speaker_ids to those ids (up to 8). session_ids []. Invite asking about one person for a fuller bio. Never add names not in DATA.
If a single speaker in DATA.speakers: summarize name, role, title, organization, bio, expertise.
Include their sessions when DATA.sessions is present — set session_ids accordingly.
If needsClarification: list only DATA.candidates names and ask which person; speaker_ids/session_ids [].
If private / no bio: follow DATA.note. Set speaker_ids when public speaker(s) are present.
`.trim(),
};