Invest with purpose using MOAA Advisor, your AI-powered guide to evaluate business proposals aligned with circular economy principles and climate change solutions.
- Resource Efficiency
- Waste Reduction
- Environmental Impact
- Innovation and Technology
- Social Impact
- Long-Term Viability
Receive clear, metric-specific insights to inform your investment decisions. Backed by examples and observations, MOAA Advisor ensures comprehensive evaluations.
MOAA Advisor doesn't just score; it suggests improvements to align proposals better with circular economy principles.
Effortlessly calculate an overall score for a quick snapshot of a proposal's sustainability.
- Efficiency: Quick and precise evaluations.
- Insightful Recommendations: Receive actionable suggestions.
- Objective Assessments: AI-driven, unbiased evaluations.
We utilized the Retrieval-Augmented Generation RAG technique to enhance the accuracy and reliability of our generative AI models. RAG optimizes the output of a large language model by referencing an authoritative knowledge base outside of its training data sources before generating a response.
The main tool we employed for making the RAG is Langchain 🦜️⛓️ for performence and simplicity .
-
Data Collection:
- Gathered detailed data from different sources containing information about companies in the circular economy and metrics used to evaluate the circular economy business ideas
-
Embedding:
- Utilized a model from Hugging Face to transform data into vector representation.
-
Vector Storage:
- Stored embeddings in the vector database Chroma.
-
User Interaction:
- Users input prompts through the Streamlit interface.
-
Prompting:
- we gave the model this prompt template :
You are and expert idea validator in terms of circular economy principles to address climate change.
Carefully evaluate the provided business idea based on six key metrics— circular economy (which include resource efficiency, waste management, long term viability, closed loop system, life cycle analysis), feasibility, scalability, innovation, and social impact and generate a score (0 to 10) for each metric, avoiding assumptions.
Ensure the evaluation is grounded in the context's content, avoiding assumptions.
Provide a comprehensive score and insights for each metric to guide investors in aligning their ambitions with the most promising business opportunities.
Add at the end the overall score for the evalution .
remember you don't read any buisness idea from the context , your only interest is the buisness idea provided by the user
If the user provided something other than a business idea , just say that you cannot answer politly in just few words , don't try to make up an answer from something in the context.
Context: {context}
Business Idea: {question}
your answer with the evaluation and the short description for each metric and ways of improving the business idea :
- Embedded the template + the user prompt using the same model used for data embedding.
- Similarity Search:
- Compared embedded user prompts with vector database data to find the best match.
-
LLM Selection:
- Utilized the Mistral-7B-OpenOrca language model, incorporating Q4 quantization.
-
Answers Generation:
- Fed results of similarity search to the LLM to generate answers based on user-specific needs and available information
-
User Interface (UI):
- Presented answers in the Streamlit UI for user consumption.
-
Make sure that you have the
Data
folder, and you've replaced its location in the code:./path_to_data
. -
If you prefer a guided approach, you can make a copy of the Colab notebook called
Idea_Evaluator.ipynb
. This notebook provides a step-by-step guide on using the MOAA Advisor for evaluating circular economy proposals. -
To run the full application in a Google Colab, navigate to the
Demo
Folder and executeStreamlit_template.ipynb
to run theapp.py
. This allows you to experience the interactive features of the application within the Colab environment. -
For local execution (not recommended but possible), follow these steps:
- Install the required dependencies by running:
pip install -r requirements.txt
- Run the application using the following command in the terminal:
streamlit run app.py
This will launch the application locally, allowing you to interact with it through your web browser.
- Install the required dependencies by running:
Note: Ensure that you have the necessary permissions and configurations set up for the successful execution of the application.