Recommended to be used with PyCharm IDE.
Run below in the terminal to install the requirements and start the service:
# Install the requirements:
pip install -r requirements.txt
# Start the service:
uvicorn app:app --reload
Now you can load http://localhost:8000/docs in your browser ... but there won't be much to see until you've inserted some data.
You can test with,
existing_profile = "64315d86362c27c707fe155c"
new_profile = "64315d86362c27c707fe152z"
sentiment = "The restaurant provided updates on the status of our order, which was very helpful."