Update src/streamlit_app.py
Browse files- src/streamlit_app.py +28 -50
src/streamlit_app.py
CHANGED
@@ -90,60 +90,38 @@ with tabs[3]:
|
|
90 |
st.success("Please copy the following into ChatGPT or any AI model with internet accesss.")
|
91 |
st.markdown(
|
92 |
"""
|
93 |
-
Please feel free to use our [searchbot](https://huggingface.co/spaces/eagle0504/searchbot).
|
94 |
"""
|
95 |
)
|
96 |
st.warning("Please change COMPANY_NAME to the name you want.")
|
97 |
st.markdown(
|
98 |
"""
|
99 |
-
TITLE:
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
-
|
107 |
-
|
108 |
-
|
109 |
-
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
4. Corporate Governance
|
127 |
-
Evaluate internal management practices:
|
128 |
-
- Leadership strength and strategic execution
|
129 |
-
- Governance structure (Board-CEO role clarity, org design, delegation)
|
130 |
-
- Internal controls and processes
|
131 |
-
- Use of technology in business operations
|
132 |
-
- Risk and compliance management (business, tax, legal)
|
133 |
-
|
134 |
-
5. Financial Health
|
135 |
-
Review critical financial metrics and provide summary statistics about the target company:
|
136 |
-
- Sustained revenue growth above 20% over multiple years
|
137 |
-
- Gross margin above 40%
|
138 |
-
- Debt-to-asset ratio below 60%
|
139 |
-
- Low accounts receivable/payable risk
|
140 |
-
- Positive operating cash flow
|
141 |
-
- Return on equity/investment above 10%
|
142 |
-
|
143 |
-
6. Valuation
|
144 |
-
Estimate the fair value and pricing of the business:
|
145 |
-
- Base valuation on cash holdings, net assets, and profitability: Provide basic stats regarding this point.
|
146 |
-
- P/E multiples: High-growth firms may justify 20β40x earnings; most public firms fall between 10β20x; <10x suggests undervaluation or risk: Provide basic stats regarding this point.
|
147 |
-
- EBITDA multiples: Use a benchmark multiple of 5β15x EBITDA, depending on sector maturity and profitability: Provide basic stats regarding this point.
|
148 |
"""
|
149 |
)
|
|
|
90 |
st.success("Please copy the following into ChatGPT or any AI model with internet accesss.")
|
91 |
st.markdown(
|
92 |
"""
|
93 |
+
Please feel free to use our [searchbot](https://huggingface.co/spaces/eagle0504/searchbot) or other platforms such as [ChatGPT](https://chat.openai.com/chat) or [Perplexity.AI](https://www.perplexity.ai/) to generate reports.
|
94 |
"""
|
95 |
)
|
96 |
st.warning("Please change COMPANY_NAME to the name you want.")
|
97 |
st.markdown(
|
98 |
"""
|
99 |
+
TITLE: COMPANY_NAME Evaluation Framework
|
100 |
+
|
101 |
+
You are tasked with providing a detailed investment or acquisition analysis for the target company. User will enter a name of a company or ticker of a publicly traded stock (most likely registered here in United States). Please write a security analysis report based on the following dimensions.
|
102 |
+
|
103 |
+
Please make sure to use the structured evaluation framework outlined below as guidance. Your goal is to analyze the companyβs strategic position, operational profile, financial health, and valuation outlook. Think critically, draw on data where applicable, and deliver a comprehensive evaluation following the six dimensions described.
|
104 |
+
|
105 |
+
Part I.
|
106 |
+
Begin by assessing the industry attributes. Identify the industry in which the company operates and determine its growth potential. Does it belong to a top-tier sector experiencing over 60% compound annual growth, such as internet finance or online gaming? Or is it in a high-growth segment with 30β60% CAGR, like new energy, advanced technology, or biotech? Alternatively, does it fit into a stable-growth category with 10β30% CAGR, such as pharmaceuticals or education? It may also operate within a moderate-growth industry (5β10% CAGR), including sectors like consumer goods, finance, or infrastructure, or in a specialized area like defense. Provide a rationale for your classification based on industry dynamics and relevant economic indicators.
|
107 |
+
|
108 |
+
Part II.
|
109 |
+
Next, evaluate the industry cycle position. Determine whether the company is currently in an expansionary phase with rapid growth, a mature phase marked by stability, a contraction phase characterized by declining performance, or a bottoming-out phase with signs of recovery. Support your assessment with observations about broader industry trends, demand shifts, or business cycle timing.
|
110 |
+
|
111 |
+
Part III.
|
112 |
+
Then analyze the business model and market position. Examine whether the company has technological leadership or faces the threat of substitution. Evaluate its market share and whether it holds a competitive or dominant position. Describe its revenue model and main customer segments, including who they are, where they are located, and what needs are being addressed. Discuss its operational advantages, including the strength of management, research and development capabilities, and cost efficiency. Reflect on the depth and expertise of the core technical or founding team and their ability to support innovation and growth.
|
113 |
+
|
114 |
+
Part IV.
|
115 |
+
Move on to review corporate governance. Analyze the leadership and internal organizational structure, particularly the clarity of responsibilities between the board and executive leadership. Consider whether there is a sound system of delegation and an effective organizational design. Evaluate the quality of internal processes, decision-making mechanisms, and the extent of digital or technical integration in operations. Also, assess how well the company manages risk and ensures compliance with business regulations, tax obligations, and legal standards.
|
116 |
+
|
117 |
+
Part V.
|
118 |
+
In assessing financial health, examine whether the company has demonstrated sustained revenue growth above 20% over multiple years. Determine whether it maintains a gross margin exceeding 40%, suggesting strong pricing or operational leverage. Evaluate its debt-to-asset ratio and whether it remains below the prudent 60% threshold. Consider risks associated with accounts receivable and payable. Analyze whether the operating cash flow is consistently positive and whether return on equity or investment surpasses 10%, indicating efficient capital deployment.
|
119 |
+
|
120 |
+
Part VI.
|
121 |
+
Finally, provide a valuation of the company. Estimate its enterprise value and assess its pricing in relation to cash reserves, net assets, and profitability. If possible, provide relevant financial statistics to support your view. Evaluate whether its price-to-earnings (P/E) ratio aligns with high-growth benchmarks (20β40x), market averages (10β20x), or lower ratios that may indicate undervaluation or heightened risk. Similarly, assess the company's valuation using EBITDA multiples, and whether it falls within the 5β15x range typical for its sector and maturity level.
|
122 |
+
|
123 |
+
Based on this framework, produce a detailed and logically structured analysis that can inform strategic investment or acquisition decisions. Address each section thoroughly, and ensure your final assessment integrates insights from all six dimensions.
|
124 |
+
|
125 |
+
If resources or references are provided, please provide the references.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
"""
|
127 |
)
|