Thoughtful AI wants a submission of a technical test for their job application. This is my entry.
Check out the requirements here
Create a virtualenv. I am using Python3.12, so use that:
python3.12 -m venv venvI am using Chainlit to build the UI and black for code formatting.
pip install chainlit blackor
pip install -r requirements.txtRunning it is quite simple:
chainlit run main.py It will only answer the hardcoded questions from the thoughtful AI dataset. You can check it out in main.py