mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-07 15:18:29 +00:00
36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"model": "gemma2:latest", "prompt": "### User:\nRespond in 20 words. Who
|
|
are you?\n\n", "options": {"num_predict": 30, "temperature": 0.7}, "stream":
|
|
false}'
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '157'
|
|
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-24T21:57:52.329049Z","response":"I
|
|
am Gemma, an open-weights AI assistant trained by Google DeepMind. \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,17363,731,6238,20555,35777,235265,139,108],"total_duration":991843667,"load_duration":31664750,"prompt_eval_count":25,"prompt_eval_duration":51409000,"eval_count":19,"eval_duration":908132000}'
|
|
headers:
|
|
Content-Length:
|
|
- '572'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Date:
|
|
- Tue, 24 Sep 2024 21:57:52 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|