Inspiration
In the current investment landscape, there's a tangible disconnect between traditional financial metrics and environmental, social, and governance (ESG) metrics. This absence of integrated metrics often leads to a myopic view of potential investments. SustainFin was birthed from a desire to create an all-encompassing tool, merging these two realms for a comprehensive insight into potential investments.
What SustainFin Does
SustainFin serves as a comprehensive platform offering users detailed insights into a company's financial health alongside its ESG profiles. By entering a company's name:
- Users are presented with curated recent news articles pertinent to the company's sustainability strategies and initiatives.
- Key statistics related to the company's ESG performance are displayed.
- A unique SustainFin Score is calculated, providing users with an instant metric to gauge the company's sustainability performance.
How I Built It
The architecture of SustainFin is dual-faceted:
Frontend: Developed using the Taipy library, the focus was on creating an intuitive, responsive, and user-friendly interface, ensuring that users, regardless of their technical proficiency, could easily navigate and retrieve information.
Backend:
- OpenAI's API: This is the first touchpoint after a user's query. It swiftly identifies stock symbols, ensuring accurate company identification.
- Metaphor API: A cornerstone of SustainFin's capability. Leveraging Metaphor's robust API, which connects LLMs to the internet, I ensured the efficient and precise retrieval of relevant news articles. The integration of Metaphor enriches the platform by tapping into its powerful search and research capabilities.
Challenges I Overcame
While the integration of Metaphor API offered a vast reservoir of information, it presented a challenge in data curation. Optimizing search queries and ensuring algorithms sieve out the most pertinent information was pivotal. This ensured users receive actionable insights without information saturation. I also had to find different work around cases where the news articles are long and the overall number of token exceeds what's allowed by the API providers.
Accomplishments I'm Proud Of
Achieving a harmonious integration of OpenAI and Metaphor was a significant milestone. Through SustainFin, users not only get precise stock symbol identification but also a thorough compilation of sustainability-related news articles, which are retrieved with commendable accuracy thanks to Metaphor's capabilities.
Unique SustainFin Formula
At the heart of SustainFin is the SustainFin Score:
SustainFin Score = 0.4 * e + 0.3 * s + 0.3 * g
Where:
- ( e ) represents the company's Environmental Score
- ( s ) indicates the Social Score
- ( g ) provides insights into the Governance Score
Coefficient Rationale:
Environmental Score (0.4): The world's pressing environmental issues warranted this metric's 40% weightage. It encapsulates the company's ecological initiatives and their overall environmental impact.
Social Score (0.3): Representing 30%, it evaluates the company's societal contributions, covering aspects like community involvement, employee welfare, and more.
Governance Score (0.3): Equally weighted at 30%, it measures the company's adherence to ethical operations, compliance, and overall governance structure.
What's Next for SustainFin
Future iterations of SustainFin will focus on harnessing more data sources and employing AI for predictive analyses on sustainability trends. I'm particularly keen on further leveraging Metaphor's strengths to enrich the tool's research capabilities, ensuring SustainFin remains at the forefront of sustainable financial insights.
Built With
- esg
- metaphor
- openai
- python
- taipy


Log in or sign up for Devpost to join the conversation.