Use llama3.1 in tools example (#5985)

* Use llama3.1 in tools example

* Update api.md
This commit is contained in:
Kyle Kelley 2024-08-07 14:20:50 -07:00 committed by GitHub
parent 69eb06c40e
commit ad0c19dde4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -669,7 +669,7 @@ curl http://localhost:11434/api/chat -d '{
``` ```
curl http://localhost:11434/api/chat -d '{ curl http://localhost:11434/api/chat -d '{
"model": "mistral", "model": "llama3.1",
"messages": [ "messages": [
{ {
"role": "user", "role": "user",
@ -708,7 +708,7 @@ curl http://localhost:11434/api/chat -d '{
```json ```json
{ {
"model": "mistral:7b-instruct-v0.3-q4_K_M", "model": "llama3.1",
"created_at": "2024-07-22T20:33:28.123648Z", "created_at": "2024-07-22T20:33:28.123648Z",
"message": { "message": {
"role": "assistant", "role": "assistant",