This is a Flask-based web application designed as a plugin for SAP Customer Data Cloud (CDC), offering additional features.
After cloning the repository, follow these steps to set up the project:
-
Set up local environment:
- Download and install JetBrains PyCharm IDE or your preferred IDE.
- The following instructions will focus on PyCharm, but most IDEs provide similar features.
-
Open the project:
- In PyCharm, navigate to
File -> Openand select the cloned repository folder.
- In PyCharm, navigate to
-
Set Up a local virtual environment:
- Go to
Settings>Project: finance-gpt>Python Interpreter>Add Interpreter. - Choose
Add Local Interpreter>Virtualenv Environment.- Select
Environment->New. - Set
Base Interpreterto your installed Python version (e.g., Python 3.x). - Click
OK.
- Select
- Go to
-
Install dependencies:
- Install required dependencies by running the following command in terminal through IDE:
pip install -r requirements.txt
- If AI language translation is required through SAP Gen AI Hub, run following command:
pip install "generative-ai-hub-sdk[all]==1.2.2" --extra-index-url https://int.repositories.cloud.sap/artifactory/api/pypi/proxy-deploy-releases-hyperspace-pypi/simple/ - If you prefer to connect directly to the LLM via OpenAI instead of using the SAP proxy, you can skip the installation of
generative-ai-hub-sdkand install required LangChain libraries instead.
- Install required dependencies by running the following command in terminal through IDE:
-
Local configuration setup: In properties.yml, set SAP Gen AI hub credentials or OpenAI key (if AI based language translation is required)
-
Run the Application:
python app.py
-
Access the user interface: Open your web browser and navigate to http://localhost:5001/ (or the appropriate port if different).
- Once the application is running, you can use various features from interactive UI.
- To access Swagger UI, go to http://localhost:5001/ui
Here are some screenshots showcasing working deployments of the application.
This project is licensed under the MIT License. See the LICENSE file for more details.






