yashbaidya commited on
Commit
191b48a
·
1 Parent(s): 980a694
Files changed (1) hide show
  1. create.py +4 -4
create.py CHANGED
@@ -13,7 +13,7 @@ def create_gtm(api_key, product,location):
13
  {"role": "user", "content": f"Act like a world class market research specialist. I want to promote {product} at {location}. Share a list of segments,market size, demand, potential geographies, decision-makers should target building a GTM strategy. Please give me the output in tabular format. Sort the segments in the decreasing order of the market size & demand."}
14
  ]
15
  completion = openai.chat.completions.create(
16
- model='gpt-4o-mini',
17
  messages=messages,
18
  )
19
  return completion.choices[0].message.content
@@ -25,7 +25,7 @@ def create_buyers_persona(api_key, product,location,segment):
25
  {"role": "user", "content": f"Act like a World Class market Research Specilaist and do the task. I am selling {product} to {segment} at {location}. Build a Buyers Persona in tabular format classify the information based on Demography, Geo, Psychography, Behavior, also add buying barriers and buying triggers, Keywords they browse, Things they want to change, Their fear, etc."}
26
  ]
27
  completion = openai.chat.completions.create(
28
- model='gpt-4o-mini',
29
  messages=messages,
30
  )
31
  return completion.choices[0].message.content
@@ -37,7 +37,7 @@ def create_uvp(api_key, product,location,segment,goal,problem,solution):
37
  {"role": "user", "content": f"I am selling {product} to {segment} in {location} I want you to act as a Marketing expert specializing in creating unique value propositions for {product} targeted to {segment} Craft a compelling and concise unique value proposition statement under 200 characters that highlights how to achieve {goal} without {problem} by utilizing {solution}."}
38
  ]
39
  completion = openai.chat.completions.create(
40
- model='gpt-4o-mini',
41
  messages=messages,
42
  )
43
  return completion.choices[0].message.content
@@ -49,7 +49,7 @@ def create_usp(api_key, product,location,segment):
49
  {"role": "user", "content": f"My product is {product} selling to {segment} at {location} Please give the list of USPs & Group the USPs under 7Ps of Marketing."}
50
  ]
51
  completion = openai.chat.completions.create(
52
- model='gpt-4o-mini',
53
  messages=messages,
54
  )
55
  return completion.choices[0].message.content
 
13
  {"role": "user", "content": f"Act like a world class market research specialist. I want to promote {product} at {location}. Share a list of segments,market size, demand, potential geographies, decision-makers should target building a GTM strategy. Please give me the output in tabular format. Sort the segments in the decreasing order of the market size & demand."}
14
  ]
15
  completion = openai.chat.completions.create(
16
+ model='gpt-4o',
17
  messages=messages,
18
  )
19
  return completion.choices[0].message.content
 
25
  {"role": "user", "content": f"Act like a World Class market Research Specilaist and do the task. I am selling {product} to {segment} at {location}. Build a Buyers Persona in tabular format classify the information based on Demography, Geo, Psychography, Behavior, also add buying barriers and buying triggers, Keywords they browse, Things they want to change, Their fear, etc."}
26
  ]
27
  completion = openai.chat.completions.create(
28
+ model='gpt-4o',
29
  messages=messages,
30
  )
31
  return completion.choices[0].message.content
 
37
  {"role": "user", "content": f"I am selling {product} to {segment} in {location} I want you to act as a Marketing expert specializing in creating unique value propositions for {product} targeted to {segment} Craft a compelling and concise unique value proposition statement under 200 characters that highlights how to achieve {goal} without {problem} by utilizing {solution}."}
38
  ]
39
  completion = openai.chat.completions.create(
40
+ model='gpt-4o',
41
  messages=messages,
42
  )
43
  return completion.choices[0].message.content
 
49
  {"role": "user", "content": f"My product is {product} selling to {segment} at {location} Please give the list of USPs & Group the USPs under 7Ps of Marketing."}
50
  ]
51
  completion = openai.chat.completions.create(
52
+ model='gpt-4o',
53
  messages=messages,
54
  )
55
  return completion.choices[0].message.content