mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"model": "gemma2:latest", "prompt": "### User:\nRespond in 20 words. Who
|
|
are you?\n\n", "options": {}, "stream": false}'
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '120'
|
|
Content-Type:
|
|
- application/json
|
|
User-Agent:
|
|
- python-requests/2.31.0
|
|
method: POST
|
|
uri: http://localhost:8080/api/generate
|
|
response:
|
|
body:
|
|
string: '{"model":"gemma2:latest","created_at":"2024-09-23T19:32:15.679838Z","response":"I
|
|
am Gemma, an open-weights AI assistant. I help users with text-based tasks. \n","done":true,"done_reason":"stop","context":[106,1645,108,6176,4926,235292,108,54657,575,235248,235284,235276,3907,235265,7702,708,692,235336,109,107,108,106,2516,108,235285,1144,137061,235269,671,2174,235290,30316,16481,20409,235265,590,1707,6211,675,2793,235290,6576,13333,235265,139,108],"total_duration":14701990834,"load_duration":13415416834,"prompt_eval_count":25,"prompt_eval_duration":163572000,"eval_count":23,"eval_duration":1117089000}'
|
|
headers:
|
|
Content-Length:
|
|
- '609'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Date:
|
|
- Mon, 23 Sep 2024 19:32:15 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|