You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Single step in our workflow, an outreach Sales Agent
38
39
39
40
example1=Example(
40
-
input="What if these shoes don't fit?",
41
-
actual_output="We offer a 30-day full refund at no extra cost.",
42
-
retrieval_context=["All customers are eligible for a 30 day full refund at no extra cost."],
43
-
trace_id="2231abe3-e7e0-4909-8ab7-b4ab60b645c6"
41
+
input="Generate a cold outreach email for TechCorp. Facts: They recently launched an AI-powered analytics platform. Their CEO Sarah Chen previously worked at Google. They have 50+ enterprise clients.",
42
+
actual_output="Dear Ms. Chen,\n\nI noticed TechCorp's recent launch of your AI analytics platform and was impressed by its enterprise-focused approach. Your experience from Google clearly shines through in building scalable solutions, as evidenced by your impressive 50+ enterprise client base.\n\nWould you be open to a brief call to discuss how we could potentially collaborate?\n\nBest regards,\nAlex",
43
+
retrieval_context=["TechCorp launched AI analytics platform in 2024", "Sarah Chen is CEO, ex-Google executive", "Current client base: 50+ enterprise customers"],
44
44
)
45
45
46
46
example2=Example(
47
-
input="How do I reset my password?",
48
-
actual_output="You can reset your password by clicking on 'Forgot Password' at the login screen.",
49
-
expected_output="You can reset your password by clicking on 'Forgot Password' at the login screen.",
input="Generate a cold outreach email for GreenEnergy Solutions. Facts: They're developing solar panel technology that's 30% more efficient. They're looking to expand into the European market. They won a sustainability award in 2023.",
48
+
actual_output="Dear GreenEnergy Solutions team,\n\nCongratulations on your 2023 sustainability award! Your innovative solar panel technology with 30% higher efficiency is exactly what the European market needs right now.\n\nI'd love to discuss how we could support your European expansion plans.\n\nBest regards,\nAlex",
49
+
expected_output="A professional cold email mentioning the sustainability award, solar technology innovation, and European expansion plans",
50
+
context=["Business Development"],
51
+
retrieval_context=["GreenEnergy Solutions won 2023 sustainability award", "New solar technology 30% more efficient", "Planning European market expansion"],
0 commit comments