Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -30,24 +30,37 @@ class Queries(BaseModel):
|
|
30 |
|
31 |
class ewriter():
|
32 |
def __init__(self):
|
33 |
-
self.model = ChatOpenAI(model="gpt-
|
34 |
|
35 |
self.PLAN_PROMPT = (
|
36 |
-
"You are a visionary startup strategist
|
|
|
|
|
|
|
|
|
37 |
)
|
|
|
38 |
self.WRITER_PROMPT = (
|
39 |
-
"You are a seasoned startup consultant
|
|
|
40 |
)
|
|
|
41 |
self.RESEARCH_PLAN_PROMPT = (
|
42 |
-
"You are a cutting-edge market research expert
|
|
|
|
|
43 |
)
|
|
|
44 |
self.REFLECTION_PROMPT = (
|
45 |
-
"You are a top-tier investor and mentor
|
|
|
46 |
)
|
|
|
47 |
self.RESEARCH_CRITIQUE_PROMPT = (
|
48 |
-
"You are an expert research analyst
|
|
|
49 |
)
|
50 |
-
|
51 |
try:
|
52 |
from tavily import TavilyClient
|
53 |
self.tavily = TavilyClient(api_key=os.environ["TAVILY_API_KEY"])
|
|
|
30 |
|
31 |
class ewriter():
|
32 |
def __init__(self):
|
33 |
+
self.model = ChatOpenAI(model="gpt-4o-mini", temperature=0.5)
|
34 |
|
35 |
self.PLAN_PROMPT = (
|
36 |
+
"You are a visionary startup strategist tasked with outlining comprehensive business plans "
|
37 |
+
"for emerging companies. Identify the unique selling points (USPs) and core competencies "
|
38 |
+
"of startups in various sectors such as tech (e.g., innovative tech stacks), healthcare "
|
39 |
+
"(e.g., compliance with medical regulations), fintech (e.g., secure payment systems), "
|
40 |
+
"and e-commerce (e.g., efficient supply chain management). Provide detailed strategies"
|
41 |
)
|
42 |
+
|
43 |
self.WRITER_PROMPT = (
|
44 |
+
"You are a seasoned startup consultant responsible for crafting compelling pitches "
|
45 |
+
"that highlight what sets each company apart. Ensure clarity and persuasive storytelling"
|
46 |
)
|
47 |
+
|
48 |
self.RESEARCH_PLAN_PROMPT = (
|
49 |
+
"You are a cutting-edge market research expert specializing in identifying trends "
|
50 |
+
"and analyzing competitors within specific industries. Offer actionable insights based on"
|
51 |
+
"the latest market data regarding regulatory environments, technological innovations,"
|
52 |
)
|
53 |
+
|
54 |
self.REFLECTION_PROMPT = (
|
55 |
+
"You are a top-tier investor and mentor providing strategic advice on fundraising,"
|
56 |
+
"team building, operational efficiency tailored to each industry's challenges."
|
57 |
)
|
58 |
+
|
59 |
self.RESEARCH_CRITIQUE_PROMPT = (
|
60 |
+
"You are an expert research analyst tasked with evaluating the feasibility of new business ideas,"
|
61 |
+
"assessing potential risks/rewards based on industry-specific factors like regulatory hurdles,"
|
62 |
)
|
63 |
+
|
64 |
try:
|
65 |
from tavily import TavilyClient
|
66 |
self.tavily = TavilyClient(api_key=os.environ["TAVILY_API_KEY"])
|