from praisonaiagents import Agent# Customer support agentsupport = Agent( name="SupportBot", instructions="""You are a helpful customer support agent.- Greet customers warmly- Understand their issue fully- Provide clear solutions- Be patient and empathetic""", memory=True # Remember conversation)support.start("I can't log into my account")
from praisonaiagents import Agent# Support agent with FAQ knowledgesupport = Agent( name="SupportBot", instructions="Answer questions using the FAQ documentation", knowledge=["faq.pdf", "policies.txt"], # Your docs memory=True)support.start("How do I cancel my subscription?")
Add your FAQ documents with knowledge=["file.pdf"] for accurate answers.
from praisonaiagents import Agent# Full-featured support agentsupport_agent = Agent( name="SupportAgent", instructions="""You are a customer support agent for a software company.When helping customers:1. Greet them warmly2. Understand their issue completely3. Provide step-by-step solutions4. Be patient and empathetic5. Offer to escalate if neededOur product features:- Task management- Calendar scheduling- Team collaboration""", knowledge=["faq.pdf"], # Your FAQ docs memory=True # Remember conversation)# Handle customer inquirysupport_agent.start("I'm having trouble syncing my calendar")support_agent.start("I'm using the iPhone app version 3.2")support_agent.start("That worked! Thank you!")