mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
implementing initial LLM class
This commit is contained in:
35
tests/cassettes/test_llm_call_with_ollama_gemma.yaml
Normal file
35
tests/cassettes/test_llm_call_with_ollama_gemma.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
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-23T01:08:42.06813Z","response":"I
|
||||
am Gemma, an open-weights AI assistant developed 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,6990,731,6238,20555,35777,235265,139,108],"total_duration":915752416,"load_duration":23754750,"prompt_eval_count":25,"prompt_eval_duration":47893000,"eval_count":19,"eval_duration":843461000}'
|
||||
headers:
|
||||
Content-Length:
|
||||
- '572'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
Date:
|
||||
- Mon, 23 Sep 2024 01:08:42 GMT
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
version: 1
|
||||
Reference in New Issue
Block a user