Spaces:
Runtime error
Runtime error
KarthickAdopleAI
commited on
Update sales_helper.py
Browse files- sales_helper.py +12 -10
sales_helper.py
CHANGED
@@ -31,8 +31,8 @@ class StageAnalyzerChain(LLMChain):
|
|
31 |
|
32 |
Now determine what should be the next immediate conversation stage for the agent in the sales conversation by selecting ony from the following options:
|
33 |
1. Introduction: Start the conversation by introducing yourself and your company. Be polite and respectful while keeping the tone of the conversation professional.
|
34 |
-
2. Qualification: Qualify the prospect by confirming if they are the right person to talk to regarding
|
35 |
-
3. Value proposition: Briefly explain
|
36 |
4. Needs analysis: Ask open-ended questions to uncover the prospect's needs and pain points. Listen carefully to their responses and take notes.
|
37 |
5. Solution presentation: Based on the prospect's needs, present your product/service as the solution that can address their pain points.
|
38 |
6. Objection handling: Address any objections that the prospect may have regarding your product/service. Be prepared to provide evidence or testimonials to support your claims.
|
@@ -61,11 +61,13 @@ class SalesConversationChain(LLMChain):
|
|
61 |
Company values are the following. {company_values}
|
62 |
You are contacting a potential customer in order to {conversation_purpose}
|
63 |
Your means of contacting the prospect is {conversation_type}
|
64 |
-
|
|
|
65 |
If you're asked about where you got the user's contact information, say that you got it from public records.
|
66 |
Keep your responses in short length to retain the user's attention. Never produce lists, just answers.
|
|
|
67 |
You must respond according to the previous conversation history and the stage of the conversation you are at.
|
68 |
-
Only generate one response at a time! When you are done generating, end with '<END_OF_TURN>' to give the user a chance to respond.
|
69 |
Example:
|
70 |
Conversation history:
|
71 |
{salesperson_name}: Hey, how are you? This is {salesperson_name} calling from {company_name}. Do you have a minute? <END_OF_TURN>
|
@@ -107,8 +109,8 @@ class SalesGPT(Chain):
|
|
107 |
sales_conversation_utterance_chain: SalesConversationChain = Field(...)
|
108 |
conversation_stage_dict: Dict = {
|
109 |
'1' : "Introduction: Start the conversation by introducing yourself and your company. Be polite and respectful while keeping the tone of the conversation professional. Your greeting should be welcoming. Always clarify in your greeting the reason why you are contacting the prospect.",
|
110 |
-
'2': "
|
111 |
-
'3': "Value proposition: Briefly explain
|
112 |
'4': "Needs analysis: Ask open-ended questions to uncover the prospect's needs and pain points. Listen carefully to their responses and take notes.",
|
113 |
'5': "Solution presentation: Based on the prospect's needs, present your product/service as the solution that can address their pain points.",
|
114 |
'6': "Objection handling: Address any objections that the prospect may have regarding your product/service. Be prepared to provide evidence or testimonials to support your claims.",
|
@@ -117,10 +119,10 @@ class SalesGPT(Chain):
|
|
117 |
|
118 |
salesperson_name = "Sales Personnal"
|
119 |
salesperson_role = "Sales Executive"
|
120 |
-
company_name = "
|
121 |
-
company_business = "
|
122 |
-
company_values = "At
|
123 |
-
conversation_purpose = "find out if the customer is interested in purchasing a
|
124 |
conversation_history = []
|
125 |
conversation_type = "call"
|
126 |
|
|
|
31 |
|
32 |
Now determine what should be the next immediate conversation stage for the agent in the sales conversation by selecting ony from the following options:
|
33 |
1. Introduction: Start the conversation by introducing yourself and your company. Be polite and respectful while keeping the tone of the conversation professional.
|
34 |
+
2. Qualification: Qualify the prospect by confirming if they are the right person to talk to regarding for product/service. Ensure that they have the authority to make purchasing decisions.
|
35 |
+
3. Value proposition: Briefly explain customer desirable product/service can benefit the prospect. Focus on the unique selling points and value proposition of product/service that sets it apart from competitors.
|
36 |
4. Needs analysis: Ask open-ended questions to uncover the prospect's needs and pain points. Listen carefully to their responses and take notes.
|
37 |
5. Solution presentation: Based on the prospect's needs, present your product/service as the solution that can address their pain points.
|
38 |
6. Objection handling: Address any objections that the prospect may have regarding your product/service. Be prepared to provide evidence or testimonials to support your claims.
|
|
|
61 |
Company values are the following. {company_values}
|
62 |
You are contacting a potential customer in order to {conversation_purpose}
|
63 |
Your means of contacting the prospect is {conversation_type}
|
64 |
+
|
65 |
+
Customer whatever product ask try to sale that product to the customer softly and respective manner.don't say that product not available.
|
66 |
If you're asked about where you got the user's contact information, say that you got it from public records.
|
67 |
Keep your responses in short length to retain the user's attention. Never produce lists, just answers.
|
68 |
+
All of the products you have, your task is sale that product to the customer with respectfull manner.
|
69 |
You must respond according to the previous conversation history and the stage of the conversation you are at.
|
70 |
+
Only generate one response at a time! don't say everytime with greetings, When you are done generating, end with '<END_OF_TURN>' to give the user a chance to respond.
|
71 |
Example:
|
72 |
Conversation history:
|
73 |
{salesperson_name}: Hey, how are you? This is {salesperson_name} calling from {company_name}. Do you have a minute? <END_OF_TURN>
|
|
|
109 |
sales_conversation_utterance_chain: SalesConversationChain = Field(...)
|
110 |
conversation_stage_dict: Dict = {
|
111 |
'1' : "Introduction: Start the conversation by introducing yourself and your company. Be polite and respectful while keeping the tone of the conversation professional. Your greeting should be welcoming. Always clarify in your greeting the reason why you are contacting the prospect.",
|
112 |
+
'2': "Qualify the prospect by confirming if they are the right person to talk to regarding for product/service. Ensure that they have the authority to make purchasing decisions.",
|
113 |
+
'3': "Value proposition: Briefly explain customer desirable product/service can benefit the prospect. Focus on the unique selling points and value proposition of product/service that sets it apart from competitors.",
|
114 |
'4': "Needs analysis: Ask open-ended questions to uncover the prospect's needs and pain points. Listen carefully to their responses and take notes.",
|
115 |
'5': "Solution presentation: Based on the prospect's needs, present your product/service as the solution that can address their pain points.",
|
116 |
'6': "Objection handling: Address any objections that the prospect may have regarding your product/service. Be prepared to provide evidence or testimonials to support your claims.",
|
|
|
119 |
|
120 |
salesperson_name = "Sales Personnal"
|
121 |
salesperson_role = "Sales Executive"
|
122 |
+
company_name = "Adople Sales Company"
|
123 |
+
company_business = "Adople Sales Company is a Overall product service provider company that offers a range of high-quality, gold-plated products. Our products are made to be quality, reliable, and long-lasting, making them perfect for professionals who want to make a lasting impression."
|
124 |
+
company_values = "At Adople Sales Company Products, we believe that the right product can make all the difference in the world. We are passionate about providing our customers with the best possible experience, and we are committed to excellence in everything we do."
|
125 |
+
conversation_purpose = "find out if the customer is interested in purchasing a product from Adople AI."
|
126 |
conversation_history = []
|
127 |
conversation_type = "call"
|
128 |
|