Create README.md

add-more-languages
Meng Zhang 2023-03-22 23:57:26 +08:00 committed by GitHub
parent 3409a096af
commit dddbcdc116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
deployment/README.md Normal file
View File

@ -0,0 +1,12 @@
## Deployment
1. Start service
```bash
docker-compose up
```
2. Test API endpoint with curl
```bash
curl -X POST http://localhost:5000/v1/completions -H 'Content-Type: application/json' --data '{
"prompt": "def binarySearch(arr, left, right, x):\n mid = (left +"
}'
```