https://github.com/fauxpilot-addon/fauxpilot-webclient
PHP/CURL-based web client to evaluate the inference result of Fauxpilot
https://github.com/fauxpilot-addon/fauxpilot-webclient
add-on client inference web-client
Last synced: about 1 year ago
JSON representation
PHP/CURL-based web client to evaluate the inference result of Fauxpilot
- Host: GitHub
- URL: https://github.com/fauxpilot-addon/fauxpilot-webclient
- Owner: fauxpilot-addon
- License: apache-2.0
- Created: 2022-11-11T01:14:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-09T23:17:51.000Z (over 3 years ago)
- Last Synced: 2024-04-07T23:32:54.411Z (about 2 years ago)
- Topics: add-on, client, inference, web-client
- Language: PHP
- Homepage:
- Size: 2.29 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP/CURL-based web client
PHP/CURL-based web client
## Getting started
This section demonstrates the CURL and PHP-based web Client that uses the REST API as a client.
Through the following installation procedures, you can quickly request the service and evaluate the processing results.
```bash
$ sudo apt -y install php php-common php-pear php-mbstring php-curl
$ chmod 400 ./conf/config.ini
$ vi ./conf/config.ini
$ php -S 0.0.0.0:5555
$ firefox http://localhost:5555
````
## Screenshot
This section shows the input screen and output screen of the web-based client.
If you enter a function containing comments on the web screen and click "submit" button, you can view the execution results of the Fauxpilot server.
* Input screen

* Output screen
