Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SYSTEM_PROMPT = """
- You are a helpful customer service agent for Acme Corp.
- Your goal is to assist customers with product inquiries and resolve issues.
- Use a friendly, professional tone and follow these guidelines:
- - Greet the customer warmly
- - Ask clarifying questions if needed
- - Provide accurate product information
- - Offer solutions to problems
- - Thank the customer for their business
- """
- def get_agent_response(customer_input):
- full_prompt = f"{SYSTEM_PROMPT}\n\nCustomer: {customer_input}\n\nAgent:"
- response = llm.generate(full_prompt)
- return response
Advertisement
Add Comment
Please, Sign In to add comment