The Casual Anaylsis System is a cutting-edge tool designed to streamline the process of collecting and analyzing financial data. Developed during an internship at Fubon, this system serves as a powerful interface that seamlessly connects with stock databases, news sources, and Wikipedia to gather comprehensive data for analysis.
- Data Integration: The system aggregates data from various sources, providing a centralized repository for financial information.
- Historical Event Tracking: It meticulously records historical events, allowing users to trace their impact on financial markets.
- Causal Analysis: Employing advanced analytical techniques, the system identifies causal relationships within financial data.
- Text-to-image: visualizarion text capabilities, it converts text into image for further analysis.
- Financial Report Analysis: The system automates the analysis of financial reports, simplifying the evaluation of company performance.
- Data Visualization: Through visualizations, users gain a deeper understanding of market trends and patterns.
- Ensure that the folder "Causal Analysis Agent" has been successfully downloaded to your computer.
- app.py
- config.py
- demo.py
- static folder
- templates folder
- Visit https://serpapi.com/plan and register for an account.
- Once logged in, you will find your Private API Key under "Your account".
- Go to the following link (Apply on the upper right): https://www.pinecone.io/
- Register for an account and register an API.
- After registration, you can create a vector database in the "Index" section (visible after entering the Pinecone official website).
- Click "Create Index" in the upper right corner.
- Set the name of the vector database (to be entered in config.py later).
- Set the dimension to 1536.
- Other settings can be left as default.
- After creating, go to "API keys" to get keys and the Environment.
- In config.py, fill in your own OpenAPI Key, SERPAPI Key, and Pinecone API Keys as follows:
OPEN_API_KEY = ""
serpapi = ""
pinecone_api = ""
pinecone_env = ""
pinecone_index_name = ""
- Run the following command to install dependencies:
pip install -r requirements.txt
npm install -g @mermaid-js/mermaid-cli
- Navigate the terminal path to the directory of the Causal Analysis Agent:
cd + Causal_Analysis_Agent_Folder_Path
- Run the following command:
python app.py
- Copy the link and paste it into your browser to open the website.
Event Causes (including three reasons and three effects), Future Implications, My Perspective (Generated by GPT)
- If you notice that the drawn result differs from your expectations, you can regenerate the image in the upper right corner individually.