mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-30 23:44:59 +00:00
docs(phi-2): add example (#1525)
This commit is contained in:
parent
726fe416bb
commit
f068efe509
2 changed files with 26 additions and 0 deletions
|
@ -67,6 +67,17 @@ curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/jso
|
|||
|
||||
```
|
||||
|
||||
### Phi-2
|
||||
|
||||
```
|
||||
cp -r examples/configurations/phi-2.yaml models/
|
||||
|
||||
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
|
||||
"model": "phi-2",
|
||||
"messages": [{"role": "user", "content": "How are you doing?", "temperature": 0.1}]
|
||||
}'
|
||||
```
|
||||
|
||||
### Mixtral
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue