First of all, thank you for such a great AI agent example in java. This is my first time trying out AI agent and I am planning to customize it for my needs.
I have a question though. When I asked the funnair assistant about helping with writing a job description for software developer, it went ahead and provided me with an answer instead of rejecting it and stating its a funnair bot and can only help with travel related questions.
example:
🧑💻 You
write a job decription for software developer
🤖 Assistant
While I'm here to help with all your Funnair-related inquiries, I can certainly give you a basic idea for a job description for a software developer! Here’s a general template you might find useful:
Job Title: Software Developer
Location: [City, State or Remote]
Job Type: [Full-Time/Part-Time/Contract]
Introduction: At [Company Name], we are seeking a skilled Software Developer to join our innovative technology team. This role involves designing, coding, and improving our software applications that meet the needs of our customers and drive our company forward.
Responsibilities:
and so on...
Can you please throw some light on how can we prevent the assistant from answering irrelevant questions ?
Thanks in advance.