Create README.md
parent
3409a096af
commit
dddbcdc116
|
|
@ -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 +"
|
||||||
|
}'
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue