This project is focused on integrating AI functionality into web applications using Embeddable Watson AI libraries.
- build two AI-based apps
- learn essential practices like unit testing, static code analysis, and error handling.
- Python 3.7 or higher
- pip (Python package manager)
- Flask 2.x (installation through requirements.txt)
- IBM Watson SDK
Create and activate a virtual environment using the following commands:
python -m venv venv
source venv/bin/activateInstall the dependencies using :
pip install -r requirements.txtAdd your credentials to an .env file at the root of the project
WATSON_API_KEY=your-api-key
WATSON_URL=your-service-url Run the flask server
flask --app server --debug runOpen the browser (localhost:5000) or use curl:
# -x to specify the GET command,
# -i to displays the header from the response
curl -X GET -i -w '\n' localhost:5000This project is licensed under the Apache License. See the LICENSE file for details.