- This API uses Playwright and Chromium to automate a browser and parse responses automatically.
- It is an unofficial API and is intended for development and educational purposes only.
- Install the requirements
pip install -r requirements.txt
- If you are installing Playwright for the first time, please run the below command as well.
python -m playwright install
- Now run the server
python server.py
- The server runs at port
5041
. If you want to change, you can change it in server.py
- There is a single end-point only. It is available at
/chat
curl -XGET http://localhost:5041/chat?q=What%20is%20the%20scientific%20name%20for%20llamas?
- There is a
runner.py
provided which will automate the asking of any questions you have inquestions.json
. - It will automatically propagate
answers.json
with your question answer combination. - Simply ensure that
server.py
is running and active at port5041
, then executerunner.py
.
- [September 5, 2023]: Initial release
This project is by Sean Henry Lewis.