ruby_llm-providers-synap402 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.flayignore +1 -0
- data/.github/workflows/ci.yml +28 -0
- data/.github/workflows/gitleaks.yml +22 -0
- data/.github/workflows/release.yml +36 -0
- data/.overcommit.yml +31 -0
- data/.rspec +2 -0
- data/.rubocop.yml +29 -0
- data/Archspec.rb +14 -0
- data/LICENSE +21 -0
- data/README.md +69 -0
- data/lib/ruby_llm/providers/synap402/models.rb +109 -0
- data/lib/ruby_llm/providers/synap402.rb +41 -0
- data/models.json +986 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_can_handle_a_multi_turn_conversation.yml +172 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_can_have_a_basic_conversation.yml +80 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_returns_the_raw_response.yml +81 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_supports_streaming_responses.yml +206 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_qwen3_coder_30b_can_use_tools.yml +160 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_qwen3_coder_30b_returns_structured_output.yml +80 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_embedding_synap402_qwen3_embedding_0_6b_embeds_one_text.yml +75 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_embedding_synap402_qwen3_embedding_0_6b_embeds_several_texts.yml +74 -0
- data/spec/ruby_llm/chat_schema_spec.rb +30 -0
- data/spec/ruby_llm/chat_spec.rb +34 -0
- data/spec/ruby_llm/chat_streaming_spec.rb +21 -0
- data/spec/ruby_llm/chat_tools_spec.rb +33 -0
- data/spec/ruby_llm/embedding_spec.rb +49 -0
- data/spec/ruby_llm/image_spec.rb +23 -0
- data/spec/ruby_llm/models_spec.rb +11 -0
- data/spec/ruby_llm/moderation_spec.rb +22 -0
- data/spec/ruby_llm/providers/synap402_spec.rb +32 -0
- data/spec/ruby_llm/rerank_spec.rb +23 -0
- data/spec/ruby_llm/speech_spec.rb +25 -0
- data/spec/ruby_llm/video_spec.rb +27 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/support/models.rb +24 -0
- data/spec/support/rubyllm_configuration.rb +14 -0
- data/spec/support/vcr_configuration.rb +16 -0
- metadata +108 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: "<SYNAP402_API_BASE>/chat/completions"
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"model":"qwen3-coder-30b","messages":[{"role":"user","content":"What''s
|
|
9
|
+
the weather in Berlin? Use 52.5200, 13.4050."}],"stream":false,"tools":[{"type":"function","function":{"name":"weather","description":"Gets
|
|
10
|
+
current weather for a location","parameters":{"type":"object","properties":{"latitude":{"type":"string","description":"Latitude"},"longitude":{"type":"string","description":"Longitude"}},"required":["latitude","longitude"],"additionalProperties":false,"strict":true}}}]}'
|
|
11
|
+
headers:
|
|
12
|
+
User-Agent:
|
|
13
|
+
- Faraday v2.15.1
|
|
14
|
+
Authorization:
|
|
15
|
+
- Bearer <AUTH_TOKEN>
|
|
16
|
+
Content-Type:
|
|
17
|
+
- application/json
|
|
18
|
+
Accept-Encoding:
|
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
20
|
+
Accept:
|
|
21
|
+
- "*/*"
|
|
22
|
+
response:
|
|
23
|
+
status:
|
|
24
|
+
code: 200
|
|
25
|
+
message: OK
|
|
26
|
+
headers:
|
|
27
|
+
Date:
|
|
28
|
+
- Mon, 30 Nov 2026 10:57:39 GMT
|
|
29
|
+
Content-Type:
|
|
30
|
+
- application/json; charset=utf-8
|
|
31
|
+
Transfer-Encoding:
|
|
32
|
+
- chunked
|
|
33
|
+
Connection:
|
|
34
|
+
- keep-alive
|
|
35
|
+
Server:
|
|
36
|
+
- cloudflare
|
|
37
|
+
Access-Control-Allow-Origin:
|
|
38
|
+
- "*"
|
|
39
|
+
X-Ratelimit-Remaining:
|
|
40
|
+
- '59'
|
|
41
|
+
X-Ratelimit-Reset:
|
|
42
|
+
- '1796036318937'
|
|
43
|
+
X-Linkrra-Served-By:
|
|
44
|
+
- fleet
|
|
45
|
+
Etag:
|
|
46
|
+
- W/"3e9-LvhnYCeLsUE077FGV6D8iW+/LHg"
|
|
47
|
+
Strict-Transport-Security:
|
|
48
|
+
- max-age=31536000
|
|
49
|
+
X-Frame-Options:
|
|
50
|
+
- SAMEORIGIN
|
|
51
|
+
X-Content-Type-Options:
|
|
52
|
+
- nosniff
|
|
53
|
+
Referrer-Policy:
|
|
54
|
+
- strict-origin-when-cross-origin
|
|
55
|
+
Permissions-Policy:
|
|
56
|
+
- camera=(), microphone=(self), geolocation=()
|
|
57
|
+
Content-Security-Policy:
|
|
58
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
59
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
60
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
61
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
62
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
63
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
64
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
65
|
+
form-action ''self'' https:'
|
|
66
|
+
Cf-Cache-Status:
|
|
67
|
+
- DYNAMIC
|
|
68
|
+
Report-To:
|
|
69
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=m%2FuF%2B5fjHmJ6JO1YgnipRnUUWd7PLXkFSahf2xYZZgkcyxjX7NGa9Ovi%2FxWdUh1G0UTWHawKpYPonIX2VN3uZGeHvJE0hCTGuIrGHOSIaGh2zMyTx8xIp6dyaZdswDU%2FbWwwgjrQCvYuDvc%3D"}]}'
|
|
70
|
+
Nel:
|
|
71
|
+
- '{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'
|
|
72
|
+
Cf-Ray:
|
|
73
|
+
- a6295519debec761-LHR
|
|
74
|
+
Alt-Svc:
|
|
75
|
+
- h3=":443"; ma=86400
|
|
76
|
+
body:
|
|
77
|
+
encoding: ASCII-8BIT
|
|
78
|
+
string: '{"id":"chatcmpl-9f756113beca9f18","object":"chat.completion","created":1796036259,"model":"qwen3-coder-30b","choices":[{"index":0,"message":{"role":"assistant","content":null,"refusal":null,"audio":null,"function_call":null,"tool_calls":[{"id":"chatcmpl-tool-89bc29081b109b5e","type":"function","function":{"name":"weather","arguments":"{\"latitude\":
|
|
79
|
+
\"52.5200\", \"longitude\": \"13.4050\"}"}}],"reasoning":null},"logprobs":null,"finish_reason":"tool_calls","stop_reason":null,"token_ids":null,"routed_experts":null,"weight_versions":null}],"service_tier":null,"system_fingerprint":"vllm-0.34.0-610c16bc","usage":{"prompt_tokens":355,"total_tokens":399,"completion_tokens":44,"prompt_tokens_details":{"cached_tokens":320,"created_cache_tokens":0,"multimodal_tokens":null},"completion_tokens_details":null},"prompt_logprobs":null,"prompt_token_ids":null,"prompt_text":null,"kv_transfer_params":null,"ec_transfer_params":null,"metrics":null,"credits":{"deducted":111,"tokens":399,"remaining":8202259}}'
|
|
80
|
+
recorded_at: Mon, 30 Nov 2026 10:57:39 GMT
|
|
81
|
+
- request:
|
|
82
|
+
method: post
|
|
83
|
+
uri: "<SYNAP402_API_BASE>/chat/completions"
|
|
84
|
+
body:
|
|
85
|
+
encoding: UTF-8
|
|
86
|
+
string: '{"model":"qwen3-coder-30b","messages":[{"role":"user","content":"What''s
|
|
87
|
+
the weather in Berlin? Use 52.5200, 13.4050."},{"role":"assistant","content":"","tool_calls":[{"id":"chatcmpl-tool-89bc29081b109b5e","type":"function","function":{"name":"weather","arguments":"{\"latitude\":\"52.5200\",\"longitude\":\"13.4050\"}"}}]},{"role":"tool","content":"Current
|
|
88
|
+
weather at 52.5200, 13.4050: 15°C, Wind: 10 km/h","tool_call_id":"chatcmpl-tool-89bc29081b109b5e"}],"stream":false,"tools":[{"type":"function","function":{"name":"weather","description":"Gets
|
|
89
|
+
current weather for a location","parameters":{"type":"object","properties":{"latitude":{"type":"string","description":"Latitude"},"longitude":{"type":"string","description":"Longitude"}},"required":["latitude","longitude"],"additionalProperties":false,"strict":true}}}]}'
|
|
90
|
+
headers:
|
|
91
|
+
User-Agent:
|
|
92
|
+
- Faraday v2.15.1
|
|
93
|
+
Authorization:
|
|
94
|
+
- Bearer <AUTH_TOKEN>
|
|
95
|
+
Content-Type:
|
|
96
|
+
- application/json
|
|
97
|
+
Accept-Encoding:
|
|
98
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
99
|
+
Accept:
|
|
100
|
+
- "*/*"
|
|
101
|
+
response:
|
|
102
|
+
status:
|
|
103
|
+
code: 200
|
|
104
|
+
message: OK
|
|
105
|
+
headers:
|
|
106
|
+
Date:
|
|
107
|
+
- Mon, 30 Nov 2026 10:57:40 GMT
|
|
108
|
+
Content-Type:
|
|
109
|
+
- application/json; charset=utf-8
|
|
110
|
+
Transfer-Encoding:
|
|
111
|
+
- chunked
|
|
112
|
+
Connection:
|
|
113
|
+
- keep-alive
|
|
114
|
+
Server:
|
|
115
|
+
- cloudflare
|
|
116
|
+
Access-Control-Allow-Origin:
|
|
117
|
+
- "*"
|
|
118
|
+
X-Ratelimit-Remaining:
|
|
119
|
+
- '58'
|
|
120
|
+
X-Ratelimit-Reset:
|
|
121
|
+
- '1796036319709'
|
|
122
|
+
X-Linkrra-Served-By:
|
|
123
|
+
- fleet
|
|
124
|
+
Etag:
|
|
125
|
+
- W/"3a1-OgC3aDsw5X0Ej7U0ChvJvS1mQ/w"
|
|
126
|
+
Strict-Transport-Security:
|
|
127
|
+
- max-age=31536000
|
|
128
|
+
X-Frame-Options:
|
|
129
|
+
- SAMEORIGIN
|
|
130
|
+
X-Content-Type-Options:
|
|
131
|
+
- nosniff
|
|
132
|
+
Referrer-Policy:
|
|
133
|
+
- strict-origin-when-cross-origin
|
|
134
|
+
Permissions-Policy:
|
|
135
|
+
- camera=(), microphone=(self), geolocation=()
|
|
136
|
+
Content-Security-Policy:
|
|
137
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
138
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
139
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
140
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
141
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
142
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
143
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
144
|
+
form-action ''self'' https:'
|
|
145
|
+
Cf-Cache-Status:
|
|
146
|
+
- DYNAMIC
|
|
147
|
+
Report-To:
|
|
148
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=iEC3TMdH%2BPbHkJ7YA6Ei5wwR3QQtpWydjmEJdi%2FIFf8iWoWfg6Y%2FsqbgXiw9zzGUe9KCDLkELPoPrUiTazUwxhikXHonSi0C%2BCBTD93YxbrzJ2eGiKmg9ozuRq4Ing8xnGuaIVJWTYC4BCg%3D"}]}'
|
|
149
|
+
Nel:
|
|
150
|
+
- '{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'
|
|
151
|
+
Cf-Ray:
|
|
152
|
+
- a629551eea763238-LHR
|
|
153
|
+
Alt-Svc:
|
|
154
|
+
- h3=":443"; ma=86400
|
|
155
|
+
body:
|
|
156
|
+
encoding: ASCII-8BIT
|
|
157
|
+
string: !binary |-
|
|
158
|
+
eyJpZCI6ImNoYXRjbXBsLThlNzYwNDM1NWQ0OTIxZmQiLCJvYmplY3QiOiJjaGF0LmNvbXBsZXRpb24iLCJjcmVhdGVkIjoxNzk2MDM2MjU5LCJtb2RlbCI6InF3ZW4zLWNvZGVyLTMwYiIsImNob2ljZXMiOlt7ImluZGV4IjowLCJtZXNzYWdlIjp7InJvbGUiOiJhc3Npc3RhbnQiLCJjb250ZW50IjoiVGhlIGN1cnJlbnQgd2VhdGhlciBpbiBCZXJsaW4gKGF0IGxhdGl0dWRlIDUyLjUyMDAsIGxvbmdpdHVkZSAxMy40MDUwKSBpcyAxNcKwQyB3aXRoIGEgd2luZCBzcGVlZCBvZiAxMCBrbS9oLiIsInJlZnVzYWwiOm51bGwsImF1ZGlvIjpudWxsLCJmdW5jdGlvbl9jYWxsIjpudWxsLCJyZWFzb25pbmciOm51bGx9LCJsb2dwcm9icyI6bnVsbCwiZmluaXNoX3JlYXNvbiI6InN0b3AiLCJzdG9wX3JlYXNvbiI6bnVsbCwidG9rZW5faWRzIjpudWxsLCJyb3V0ZWRfZXhwZXJ0cyI6bnVsbCwid2VpZ2h0X3ZlcnNpb25zIjpudWxsfV0sInNlcnZpY2VfdGllciI6bnVsbCwic3lzdGVtX2ZpbmdlcnByaW50IjoidmxsbS0wLjM0LjAtNjEwYzE2YmMiLCJ1c2FnZSI6eyJwcm9tcHRfdG9rZW5zIjo0NDYsInRvdGFsX3Rva2VucyI6NDkwLCJjb21wbGV0aW9uX3Rva2VucyI6NDQsInByb21wdF90b2tlbnNfZGV0YWlscyI6eyJjYWNoZWRfdG9rZW5zIjozODQsImNyZWF0ZWRfY2FjaGVfdG9rZW5zIjowLCJtdWx0aW1vZGFsX3Rva2VucyI6bnVsbH0sImNvbXBsZXRpb25fdG9rZW5zX2RldGFpbHMiOm51bGx9LCJwcm9tcHRfbG9ncHJvYnMiOm51bGwsInByb21wdF90b2tlbl9pZHMiOm51bGwsInByb21wdF90ZXh0IjpudWxsLCJrdl90cmFuc2Zlcl9wYXJhbXMiOm51bGwsImVjX3RyYW5zZmVyX3BhcmFtcyI6bnVsbCwibWV0cmljcyI6bnVsbCwiY3JlZGl0cyI6eyJkZWR1Y3RlZCI6MTI4LCJ0b2tlbnMiOjQ5MCwicmVtYWluaW5nIjo4MjAyMTMxfX0=
|
|
159
|
+
recorded_at: Mon, 30 Nov 2026 10:57:40 GMT
|
|
160
|
+
recorded_with: VCR 6.4.1
|
data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_qwen3_coder_30b_returns_structured_output.yml
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: "<SYNAP402_API_BASE>/chat/completions"
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"model":"qwen3-coder-30b","messages":[{"role":"user","content":"Generate
|
|
9
|
+
a person named John who is 30 years old"}],"stream":false,"response_format":{"type":"json_schema","json_schema":{"name":"response","schema":{"type":"object","properties":{"name":{"type":"string"},"age":{"type":"integer"}},"required":["name","age"],"additionalProperties":false},"strict":true}}}'
|
|
10
|
+
headers:
|
|
11
|
+
User-Agent:
|
|
12
|
+
- Faraday v2.15.1
|
|
13
|
+
Authorization:
|
|
14
|
+
- Bearer <AUTH_TOKEN>
|
|
15
|
+
Content-Type:
|
|
16
|
+
- application/json
|
|
17
|
+
Accept-Encoding:
|
|
18
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
19
|
+
Accept:
|
|
20
|
+
- "*/*"
|
|
21
|
+
response:
|
|
22
|
+
status:
|
|
23
|
+
code: 200
|
|
24
|
+
message: OK
|
|
25
|
+
headers:
|
|
26
|
+
Date:
|
|
27
|
+
- Mon, 30 Nov 2026 10:57:40 GMT
|
|
28
|
+
Content-Type:
|
|
29
|
+
- application/json; charset=utf-8
|
|
30
|
+
Transfer-Encoding:
|
|
31
|
+
- chunked
|
|
32
|
+
Connection:
|
|
33
|
+
- keep-alive
|
|
34
|
+
Server:
|
|
35
|
+
- cloudflare
|
|
36
|
+
Access-Control-Allow-Origin:
|
|
37
|
+
- "*"
|
|
38
|
+
X-Ratelimit-Remaining:
|
|
39
|
+
- '57'
|
|
40
|
+
X-Ratelimit-Reset:
|
|
41
|
+
- '1796036320457'
|
|
42
|
+
X-Linkrra-Served-By:
|
|
43
|
+
- fleet
|
|
44
|
+
Etag:
|
|
45
|
+
- W/"358-KDWJFbDmrwSsgg63iclpHkYfEEE"
|
|
46
|
+
Strict-Transport-Security:
|
|
47
|
+
- max-age=31536000
|
|
48
|
+
X-Frame-Options:
|
|
49
|
+
- SAMEORIGIN
|
|
50
|
+
X-Content-Type-Options:
|
|
51
|
+
- nosniff
|
|
52
|
+
Referrer-Policy:
|
|
53
|
+
- strict-origin-when-cross-origin
|
|
54
|
+
Permissions-Policy:
|
|
55
|
+
- camera=(), microphone=(self), geolocation=()
|
|
56
|
+
Content-Security-Policy:
|
|
57
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
58
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
59
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
60
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
61
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
62
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
63
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
64
|
+
form-action ''self'' https:'
|
|
65
|
+
Cf-Cache-Status:
|
|
66
|
+
- DYNAMIC
|
|
67
|
+
Report-To:
|
|
68
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=BIVIR6z6%2BZ2j038BGJIdPJXV%2FIX%2F1gdJzlsUfUMbf3rQWT%2BaTI3xqQ6ZjHxfhV484GXMEytxdWIP0HGcdH%2Bt%2FlHgZ2PItA2vzf%2BH7uAHR8lDrzrg6IiIJqjywjV67QrQmTwsIGpgBHAVjxE%3D"}]}'
|
|
69
|
+
Nel:
|
|
70
|
+
- '{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'
|
|
71
|
+
Cf-Ray:
|
|
72
|
+
- a6295523ae7990c9-LHR
|
|
73
|
+
Alt-Svc:
|
|
74
|
+
- h3=":443"; ma=86400
|
|
75
|
+
body:
|
|
76
|
+
encoding: ASCII-8BIT
|
|
77
|
+
string: '{"id":"chatcmpl-942219de28280b72","object":"chat.completion","created":1796036260,"model":"qwen3-coder-30b","choices":[{"index":0,"message":{"role":"assistant","content":"{\n \"name\":
|
|
78
|
+
\"John\",\n \"age\": 30\n}","refusal":null,"audio":null,"function_call":null,"reasoning":null},"logprobs":null,"finish_reason":"stop","stop_reason":null,"token_ids":null,"routed_experts":null,"weight_versions":null}],"service_tier":null,"system_fingerprint":"vllm-0.34.0-610c16bc","usage":{"prompt_tokens":20,"total_tokens":38,"completion_tokens":18,"prompt_tokens_details":{"cached_tokens":0,"created_cache_tokens":0,"multimodal_tokens":null},"completion_tokens_details":null},"prompt_logprobs":null,"prompt_token_ids":null,"prompt_text":null,"kv_transfer_params":null,"ec_transfer_params":null,"metrics":null,"credits":{"deducted":28,"tokens":38,"remaining":8202103}}'
|
|
79
|
+
recorded_at: Mon, 30 Nov 2026 10:57:41 GMT
|
|
80
|
+
recorded_with: VCR 6.4.1
|
data/spec/fixtures/vcr_cassettes/rubyllm_embedding_synap402_qwen3_embedding_0_6b_embeds_one_text.yml
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: "<SYNAP402_API_BASE>/embeddings"
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"model":"qwen3-embedding-0.6b","input":"Ruby is a programmer''s best
|
|
9
|
+
friend"}'
|
|
10
|
+
headers:
|
|
11
|
+
User-Agent:
|
|
12
|
+
- Faraday v2.15.1
|
|
13
|
+
Authorization:
|
|
14
|
+
- Bearer <AUTH_TOKEN>
|
|
15
|
+
Content-Type:
|
|
16
|
+
- application/json
|
|
17
|
+
Accept-Encoding:
|
|
18
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
19
|
+
Accept:
|
|
20
|
+
- "*/*"
|
|
21
|
+
response:
|
|
22
|
+
status:
|
|
23
|
+
code: 200
|
|
24
|
+
message: OK
|
|
25
|
+
headers:
|
|
26
|
+
Date:
|
|
27
|
+
- Mon, 30 Nov 2026 10:58:09 GMT
|
|
28
|
+
Content-Type:
|
|
29
|
+
- application/json; charset=utf-8
|
|
30
|
+
Transfer-Encoding:
|
|
31
|
+
- chunked
|
|
32
|
+
Connection:
|
|
33
|
+
- keep-alive
|
|
34
|
+
Server:
|
|
35
|
+
- cloudflare
|
|
36
|
+
X-Ratelimit-Remaining:
|
|
37
|
+
- '117'
|
|
38
|
+
X-Ratelimit-Reset:
|
|
39
|
+
- '1796036349290'
|
|
40
|
+
Etag:
|
|
41
|
+
- W/"32e1-KuOFjaibt0xsRh7nquEIFV3/JeY"
|
|
42
|
+
Strict-Transport-Security:
|
|
43
|
+
- max-age=31536000
|
|
44
|
+
X-Frame-Options:
|
|
45
|
+
- SAMEORIGIN
|
|
46
|
+
X-Content-Type-Options:
|
|
47
|
+
- nosniff
|
|
48
|
+
Referrer-Policy:
|
|
49
|
+
- strict-origin-when-cross-origin
|
|
50
|
+
Permissions-Policy:
|
|
51
|
+
- camera=(), microphone=(self), geolocation=()
|
|
52
|
+
Content-Security-Policy:
|
|
53
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
54
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
55
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
56
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
57
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
58
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
59
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
60
|
+
form-action ''self'' https:'
|
|
61
|
+
Cf-Cache-Status:
|
|
62
|
+
- DYNAMIC
|
|
63
|
+
Report-To:
|
|
64
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=8BZ%2BYyobciNhzA6gTlXtZhlkXaJXv8grxpi9NV25N%2BJQlgXOHCWByExHwuh%2BwDxcRNpudXtetaACmBbdDbCHX%2FgdFjMSv%2Ft6ToOWMQRidtGknvbCr9N8GKTU0TTFGJEeFk59aiibbexjNrE%3D"}]}'
|
|
65
|
+
Nel:
|
|
66
|
+
- '{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'
|
|
67
|
+
Cf-Ray:
|
|
68
|
+
- a62955d79d0c35b9-LHR
|
|
69
|
+
Alt-Svc:
|
|
70
|
+
- h3=":443"; ma=86400
|
|
71
|
+
body:
|
|
72
|
+
encoding: ASCII-8BIT
|
|
73
|
+
string: '{"id":"embd-985e95573b76e21b","object":"list","created":1796036289,"model":"qwen3-embedding-0.6b","data":[{"index":0,"object":"embedding","embedding":[0.000688725,0.0005744138,-0.014174589,-0.06511166,0.06876962,-0.028532075,0.021399057,0.01490618,-0.0061270804,0.007315917,-0.019204281,-0.0015317701,0.08376725,-0.013077201,-0.061819497,0.07206178,-0.023319485,0.116323076,0.043529704,-0.043529704,-0.010653804,0.02725179,0.064380065,0.11924944,-0.018564139,0.020667465,-0.06876962,0.09730169,-0.011614018,-0.024142526,-0.095106915,-0.045358684,-0.029629463,-0.002766331,-0.0035893717,-0.017741099,0.030543953,0.02030167,-0.018198343,0.03804277,0.018289791,-0.013808792,0.06730644,0.008184682,0.034019012,0.011705467,0.03255583,-0.0034979228,0.07352497,0.028532075,-0.06364848,0.01682661,-0.025971504,0.003154989,-0.029080769,-0.042615216,0.027434688,0.03164134,0.00795606,-0.009739314,-0.03785987,0.06913541,-0.084133044,0.026154403,0.027617585,0.048285052,0.0004972537,0.026703097,-0.041517828,0.001714668,0.00076588505,-0.003337887,-0.025422812,0.0110196,0.02889787,0.054869376,0.0026291576,-0.11924944,0.026154403,-0.0009830763,0.0072701923,0.0263373,0.011476845,-0.011888364,-0.0028234867,0.028714973,0.061819497,0.016003568,-0.026885994,0.01682661,-0.06986701,0.042615216,0.0038637186,-0.03859146,0.03950595,-0.0218563,-0.028714973,0.013808792,-0.0046638967,-0.0045267236,-0.019021384,-0.006355703,0.023136586,0.030909749,-0.012528507,0.060356315,-0.047553457,0.023045138,-0.073159166,-0.010196559,-0.022222098,0.022130648,-0.01316865,0.03164134,-0.017009506,0.049016643,-0.027800484,-0.068038024,0.00018289791,-0.00704157,0.012254161,-0.025788607,0.0058527333,-0.008459029,-0.0105166305,-0.0025034153,-0.04060334,-0.004275239,0.013351548,-0.02021022,0.022130648,-0.011065324,0.0110196,-0.013442997,0.016918058,-0.008138957,-0.000571556,0.014631834,0.033836115,0.007315917,0.027617585,0.00018004014,0.0048239324,-0.024142526,0.03438481,0.011202497,-0.023319485,-0.003429336,0.008687651,0.04115203,0.042432316,0.011065324,-0.0016346502,-0.03804277,-0.044992886,-0.002206206,-0.004778208,-0.031092646,0.025239913,-0.0070872945,0.004275239,0.028532075,0.008824824,-0.0076359883,-0.0033150248,0.0351164,-0.041883625,-0.024325423,-0.017100956,-0.024691219,-0.016918058,0.032921627,0.008367579,-0.031275544,0.001194552,-0.018381242,-0.041517828,-0.024874117,-0.017832547,0.014814732,0.029080769,-0.02295369,-0.00029149355,0.008093233,0.04480999,0.016369363,0.00047439148,0.0037951318,-0.024691219,0.0055555245,-0.06730644,-0.008001784,0.021673404,-0.04133493,-0.013625895,-0.03950595,0.023959627,-0.024325423,0.008459029,-0.051577214,-0.022130648,0.019935872,0.004275239,-0.01682661,-0.026520198,-0.011979814,0.02021022,-0.040969133,0.010653804,-0.024325423,0.059258927,0.028714973,0.0015889257,-0.03145844,0.014814732,0.054869376,-0.030909749,0.038225666,-0.0036579585,0.053406194,0.044627093,-0.0017032368,-0.011705467,-0.0041380655,0.0060356315,-0.03438481,0.011705467,-0.030909749,0.05450358,0.027617585,-0.037311174,0.013991691,-0.020850362,0.017923996,0.061087906,-0.017375302,-0.02112471,0.010288008,0.013534446,0.006447152,-0.008733376,-0.011339671,0.06401427,-0.016186466,-0.047187664,-0.0010688098,0.013900242,0.010790978,-0.018747037,0.02030167,0.045175787,-0.116323076,-0.08376725,-0.0065386007,0.021764852,-0.0071787434,-0.0045267236,-0.01682661,0.012894304,0.0110196,0.016918058,-0.039140154,-0.032372933,0.029080769,0.08084088,0.010562355,-0.03438481,0.018747037,-0.029629463,-0.026703097,0.0046410346,0.0105166305,-0.011979814,-0.018564139,-0.024325423,0.004480999,0.004846795,-0.03365322,0.047919255,0.057429947,0.04060334,-0.0351164,0.004869657,-0.020576015,0.0145403845,0.047187664,0.008916274,0.025788607,0.009830764,-0.016918058,0.009053447,-0.009556416,-0.0263373,0.07462235,0.0056698355,0.012985752,0.025422812,0.08523043,-0.03255583,0.014448935,-0.016003568,-0.011888364,-0.016369363,-0.010653804,-0.0016918058,-0.01408314,0.049382437,-0.036579583,0.017283853,-0.049748234,0.07389076,0.026154403,-0.010562355,-0.012071263,0.0093277935,-0.070964396,-0.026520198,0.029995259,-0.041883625,-0.011156773,0.005441213,0.016552262,0.004869657,-0.018838486,-0.018564139,-0.0075445394,-0.021216158,0.0220392,-0.004503861,-0.03694538,0.01408314,0.021399057,0.013625895,0.024508322,-0.0020347394,0.048285052,0.006492876,0.051211417,-0.05889313,0.03328742,0.032372933,-0.016003568,0.009922212,-0.032372933,-0.027068892,0.03164134,0.017466752,0.03182424,0.0041152034,0.015637772,-0.05889313,0.02286224,-0.012985752,0.015363425,-0.07498815,-0.009785038,0.027068892,0.0008287562,-0.0062642535,0.012894304,-0.009739314,-0.055600967,0.049016643,-0.055600967,-0.0440784,0.02021022,-0.005944182,-0.11193353,0.07974349,0.009373519,-0.08340145,-0.06986701,-0.01938718,0.025971504,0.070598595,0.027068892,0.07828031,-0.022130648,0.033470318,0.018289791,0.0351164,0.02981236,-0.01591212,0.011659742,0.019752976,-0.017375302,-0.00079446286,-0.002377673,0.048650846,-0.026154403,0.047919255,-0.03145844,0.00704157,-0.033470318,0.041700725,0.0043209633,-0.07206178,0.010653804,-0.010653804,0.023228036,0.012619956,0.0034064737,-0.07389076,-0.05011403,0.0005115426,0.017923996,-0.01408314,0.0062642535,0.0075902636,0.01572922,0.039688848,0.01582067,-0.014997629,-0.03621379,-0.008093233,-0.03694538,0.095106915,-0.020758914,-0.029446565,-0.0012574232,-0.03621379,0.036579583,-0.054869376,0.00062585383,-0.004480999,-0.02194775,-0.050845623,-0.05962472,-0.00076588505,0.07864611,-0.017923996,0.0040694787,0.032921627,0.010836702,-0.054137785,-0.051943008,0.019844424,0.02889787,-0.009190621,0.008230407,0.021033261,0.005532662,-0.035665095,-0.03804277,0.0028920732,-0.032190032,-0.015637772,0.007315917,0.024325423,-0.015271977,0.028349178,-0.023410933,0.012894304,0.020941813,-0.0046410346,-0.026703097,-0.019478628,0.012619956,0.005829871,-0.0105166305,-0.026154403,-0.020484567,0.03164134,-0.01929573,-0.016552262,0.03767697,-0.02725179,0.01092815,0.032921627,-0.034933504,0.038225666,-0.029263668,0.002000446,0.0020347394,0.03694538,-0.005395489,0.01010511,-0.051943008,-0.03145844,0.00024005352,-0.00007858895,0.002389104,0.011614018,-0.07169598,0.050845623,0.016186466,0.024691219,-0.016003568,-0.03950595,-0.06072211,0.040969133,-0.006401427,0.03603089,-0.0440784,-0.00059156044,-0.0004143781,-0.004503861,-0.03785987,-0.074256554,0.012528507,0.009830764,-0.012894304,-0.013900242,0.042432316,-0.0022633618,0.0012402765,-0.011705467,-0.0060813557,0.0031092647,0.068038024,-0.003223576,-0.031275544,0.025422812,0.015454874,0.027800484,-0.023593832,0.00096021406,0.053771988,0.012437059,0.030543953,0.032372933,0.022222098,0.0069958456,0.006355703,-0.014631834,0.061819497,0.0014974767,-0.018929934,0.0110196,0.029995259,-0.0026062953,0.053406194,0.023959627,-0.03804277,-0.01591212,0.0008687651,-0.0021719127,-0.0075445394,0.025971504,-0.007315917,-0.032372933,0.0437126,-0.03767697,-0.003429336,0.051211417,0.016003568,-0.058527336,0.009602141,-0.025422812,0.08449884,0.015089079,-0.013534446,0.050479826,-0.04133493,-0.03145844,0.019204281,0.0027434689,-0.02981236,0.04316391,-0.029446565,-0.0017718236,-0.029080769,-0.019661527,-0.0015889257,-0.032190032,0.026703097,0.022313546,0.050845623,0.034933504,-0.013717344,-0.0012116987,0.0075902636,0.06950121,-0.016186466,0.014723282,-0.03859146,-0.005944182,0.029263668,-0.008641927,-0.032007135,0.004458137,-0.007910335,-0.050845623,0.035482198,-0.011705467,-0.0014460366,0.04480999,0.00969359,0.010333733,-0.0035893717,-0.03694538,-0.032190032,-0.042615216,0.022496443,0.06401427,-0.023136586,-0.020850362,0.007818886,0.013351548,0.007315917,0.03072685,0.014174589,-0.018929934,0.012711406,-0.047187664,0.034750603,-0.044444196,-0.028532075,-0.019204281,-0.021581955,0.013442997,0.005418351,-0.0045267236,0.06255109,-0.01408314,-0.027983382,0.011248222,0.042432316,0.019935872,-0.07133019,0.03328742,0.0074988147,-0.018198343,0.017009506,-0.013260099,-0.004503861,-0.0060356315,-0.045358684,-0.0066300496,-0.025239913,0.004938244,0.027800484,-0.022130648,0.044261295,0.016918058,0.02295369,-0.034567706,0.018198343,0.018198343,-0.025422812,-0.03859146,-0.02725179,-0.017466752,0.0005001115,-0.033104524,0.0437126,-0.01591212,0.015546323,0.021581955,-0.009785038,0.047919255,0.016918058,0.00095449854,0.03328742,0.0046410346,0.011888364,-0.010288008,0.0070872945,0.04590738,-0.0036808206,-0.0010516631,-0.064745866,-0.024691219,-0.023593832,-0.0023205173,-0.035299297,0.058527336,0.049748234,0.033836115,0.019204281,-0.011248222,-0.02816628,-0.006675774,0.035482198,-0.036762483,-0.047919255,-0.049748234,0.0040466166,-0.029263668,-0.058161538,-0.029263668,-0.0019775839,0.023228036,-0.023410933,0.024874117,-0.0020461704,-0.021673404,0.01572922,0.035299297,-0.047187664,-0.014174589,-0.015089079,0.041883625,-0.0031321268,-0.011202497,0.004298101,0.031275544,-0.021307608,-0.0077731614,-0.004092341,-0.012345609,0.011248222,-0.02277079,0.042615216,0.008504753,0.009190621,-0.0702328,-0.0702328,-0.01143112,0.00438955,0.017100956,0.0022290684,0.020941813,-0.02030167,0.003429336,0.00969359,-0.018747037,-0.007361641,-0.047187664,0.025239913,0.023319485,0.010836702,0.0175582,0.04115203,-0.012619956,-0.00031292692,-0.0009716452,0.006584325,0.050845623,-0.042066522,-0.012071263,-0.034201913,0.0110196,-0.05962472,0.039140154,-0.015546323,0.042432316,0.00745309,-0.004092341,-0.023045138,0.027617585,0.024325423,-0.008138957,0.019752976,0.013717344,0.031275544,0.0023319484,0.0005058271,0.026885994,0.016369363,0.035665095,-0.024508322,-0.012802854,0.033470318,-0.035482198,-0.010790978,-0.0075902636,0.05450358,-0.005144004,0.01316865,0.0037722697,-0.017832547,0.0012059831,0.026154403,0.037311174,0.009190621,-0.0027434689,-0.027068892,-0.03767697,0.03438481,0.036396686,0.009785038,0.01582067,0.037128277,0.047919255,-0.0052125906,0.0042066523,-0.030543953,0.0076817125,0.014814732,0.002766331,-0.012437059,0.016186466,-0.015271977,-0.039688848,0.05706415,-0.016186466,-0.007361641,-0.009876488,0.09730169,0.012711406,-0.01316865,-0.025788607,0.037311174,-0.0035436472,0.05962472,0.010059386,-0.005235453,-0.027800484,0.0071330187,0.022496443,0.014997629,-0.0053040395,0.0041380655,0.020850362,-0.0018518415,-0.076817125,0.016003568,-0.028714973,0.0042295144,0.004275239,0.030909749,0.047187664,0.013900242,-0.003703683,0.052308805,-0.013534446,0.047919255,-0.009282069,-0.039140154,0.010288008,0.030543953,0.008550478,0.023228036,-0.03182424,-0.012437059,0.012985752,0.016186466,-0.06730644,0.0438955,0.015180527,-0.023410933,0.03877436,0.0004000892,0.042432316,0.025057014,-0.00571556,-0.011568293,-0.025057014,0.047187664,0.028349178,0.0076359883,0.0035665093,0.00704157,-0.0058527333,0.037311174,0.003246438,0.013351548,0.010836702,-0.025971504,0.064745866,0.018289791,-0.025422812,0.0437126,-0.0220392,0.046090275,0.014631834,-0.011248222,0.019570077,0.030543953,-0.05011403,-0.030543953,-0.010699528,-0.006492876,-0.0015317701,0.05633256,-0.026885994,0.017192405,0.008641927,0.017192405,-0.028532075,0.017192405,0.018106895,0.006858672,0.0025948642,0.016186466,0.005418351,0.00786461,-0.0072701923,0.04042044,-0.034019012,0.009830764,0.025605708,-0.0043438254,-0.029995259,0.008413305,0.017375302,-0.0263373,-0.055600967,-0.0025491398,0.022222098,-0.0093277935,0.0027777622,-0.024508322,-0.07279337,-0.02889787,0.066940635,0.041517828,0.011705467,0.02021022,0.040969133,-0.02021022,0.00076588505,-0.010790978,0.010333733,0.016735159,-0.02030167,0.0032007135,-0.01591212,-0.0024348286,-0.016369363,0.04133493,0.022496443,0.029629463,-0.0013431566,-0.013534446,-0.060356315,-0.019021384,0.006309978,-0.006355703,0.006904396,-0.020118771,0.009785038,-0.0027320376,-0.022496443,-0.0043438254,-0.0440784,0.012437059,-0.010836702,0.030543953,-0.004412412,-0.008641927,-0.025971504,0.010425181,-0.013991691,-0.003246438,-0.032372933,-0.008961998,-0.004412412,-0.027800484,0.0020918949,0.024874117,0.029263668,0.010379457,0.04060334,-0.004892519,-0.012619956,0.00745309,-0.0010459474,0.03584799,-0.032738727,0.032372933,0.0032007135,-0.013625895,-0.008367579,-0.061087906,-0.017466752,0.02981236,0.0036808206,0.041517828,0.011385395,-0.03365322,0.042615216,0.018747037,0.048650846,0.019935872,-0.017375302,0.031092646,0.036396686,0.0056012487,-0.0028234867,0.020941813,-0.01929573,0.080475084,0.01572922,0.030543953,-0.008916274,-0.013442997,0.012437059,-0.03438481,-0.04115203,-0.001245992,0.035665095,0.005144004,0.022313546,-0.044444196,-0.0015089079,0.040054645,0.008596202,-0.030543953,0.040969133,0.038957257,0.0218563,0.047553457,-0.029446565,-0.0016918058,-0.009007722,-0.011888364,0.0007115872,-0.017923996,0.005989907,0.017741099,-0.00048296482,0.039688848,0.034750603,-0.024325423,-0.004572448,-0.019112833,0.0072701923,0.030361054,0.0057612844,0.0069958456,0.028714973,-0.025788607,-0.01582067,-0.03255583,0.029080769,-0.016095016,-0.013351548,-0.037494075,0.008916274,0.000857334,-0.0041380655,-0.051577214]}],"usage":{"prompt_tokens":8,"total_tokens":8,"completion_tokens":0,"completion_tokens_details":null},"credits":{"deducted":0,"tokens":8,"remaining":0}}'
|
|
74
|
+
recorded_at: Mon, 30 Nov 2026 10:58:09 GMT
|
|
75
|
+
recorded_with: VCR 6.4.1
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: "<SYNAP402_API_BASE>/embeddings"
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"model":"qwen3-embedding-0.6b","input":["Ruby","Python","JavaScript"]}'
|
|
9
|
+
headers:
|
|
10
|
+
User-Agent:
|
|
11
|
+
- Faraday v2.15.1
|
|
12
|
+
Authorization:
|
|
13
|
+
- Bearer <AUTH_TOKEN>
|
|
14
|
+
Content-Type:
|
|
15
|
+
- application/json
|
|
16
|
+
Accept-Encoding:
|
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
18
|
+
Accept:
|
|
19
|
+
- "*/*"
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Date:
|
|
26
|
+
- Mon, 30 Nov 2026 10:58:08 GMT
|
|
27
|
+
Content-Type:
|
|
28
|
+
- application/json; charset=utf-8
|
|
29
|
+
Transfer-Encoding:
|
|
30
|
+
- chunked
|
|
31
|
+
Connection:
|
|
32
|
+
- keep-alive
|
|
33
|
+
Server:
|
|
34
|
+
- cloudflare
|
|
35
|
+
X-Ratelimit-Remaining:
|
|
36
|
+
- '118'
|
|
37
|
+
X-Ratelimit-Reset:
|
|
38
|
+
- '1796036347642'
|
|
39
|
+
Etag:
|
|
40
|
+
- W/"963a-6QFuj+vjewabMwoD+eH1Tvd2HLc"
|
|
41
|
+
Strict-Transport-Security:
|
|
42
|
+
- max-age=31536000
|
|
43
|
+
X-Frame-Options:
|
|
44
|
+
- SAMEORIGIN
|
|
45
|
+
X-Content-Type-Options:
|
|
46
|
+
- nosniff
|
|
47
|
+
Referrer-Policy:
|
|
48
|
+
- strict-origin-when-cross-origin
|
|
49
|
+
Permissions-Policy:
|
|
50
|
+
- camera=(), microphone=(self), geolocation=()
|
|
51
|
+
Content-Security-Policy:
|
|
52
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
53
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
54
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
55
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
56
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
57
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
58
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
59
|
+
form-action ''self'' https:'
|
|
60
|
+
Cf-Cache-Status:
|
|
61
|
+
- DYNAMIC
|
|
62
|
+
Report-To:
|
|
63
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Pz0dsBLApkkO8CQX8NIq2v9RjHsQXpL24hlibJjFzYBNIbJDZrf3hgTbpVYp6j39xbfQxum3uMLABa24b9fBjt%2FW9bHN6cSKn1%2BEGPTCxYFZ4iFhdfXMxOZAcv6HyvuAOcZm2Sk5pSeJY64%3D"}]}'
|
|
64
|
+
Nel:
|
|
65
|
+
- '{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'
|
|
66
|
+
Cf-Ray:
|
|
67
|
+
- a62955cd892c28c7-LHR
|
|
68
|
+
Alt-Svc:
|
|
69
|
+
- h3=":443"; ma=86400
|
|
70
|
+
body:
|
|
71
|
+
encoding: ASCII-8BIT
|
|
72
|
+
string: '{"id":"embd-8b6d43f3bdc88a0b","object":"list","created":1796036288,"model":"qwen3-embedding-0.6b","data":[{"index":0,"object":"embedding","embedding":[0.0050461735,0.005025492,-0.011250485,-0.08934208,0.06386305,0.0074865357,0.023824556,0.024982695,0.0041568885,0.012491347,-0.009720088,-0.025975384,0.077760704,-0.010671415,-0.04764911,0.0873567,0.005997501,0.105886914,0.021673728,-0.020019244,0.007858794,0.011085036,0.013649485,0.10787229,0.0019233365,0.0018406124,-0.061215874,0.12243175,-0.052281663,-0.031104282,-0.03490959,0.012325899,-0.029615246,0.01671028,-0.0022438925,-0.014063106,0.026968073,0.0050668544,-0.0098855365,0.03490959,0.0016234615,-0.021177383,0.10125436,-0.012325899,0.031104282,0.00996826,0.047318216,0.02531359,0.05161987,0.026637176,-0.072797254,-0.017620245,-0.013732209,-0.014890348,-0.037556764,-0.052281663,0.009720088,0.01075414,0.020267418,0.02233552,0.0013649485,0.04367835,-0.05062718,0.011085036,0.0041568885,0.04963449,0.025975384,0.026637176,-0.040700283,-0.024155453,0.023493659,-0.004425742,0.007114277,0.027960762,0.026802626,0.052943457,0.019357452,-0.10985767,0.019109279,0.013649485,0.02134283,0.04764911,-0.023659108,-0.004880725,0.020515589,0.08934208,0.07974608,0.028126212,-0.037391316,0.026471728,-0.09000388,0.0015510778,-0.02150828,-0.0017682287,0.070811875,-0.028788004,-0.01671028,-0.011250485,0.020681038,-0.010133709,-0.022170072,-0.01811659,0.013318588,-0.000697985,-0.012491347,0.061215874,-0.00007884646,0.02928435,-0.02829166,-0.043347456,-0.021011934,-0.02134283,0.010216433,0.036564074,-0.011085036,0.040203936,0.0012512028,-0.056252424,-0.010299156,0.01654483,0.005956139,0.020846486,-0.0067420183,-0.023328211,0.03805311,0.020846486,-0.06287035,-0.0045911903,0.01116776,-0.021673728,-0.0014373321,-0.020101968,-0.0014476726,0.009058295,0.0052116215,-0.005542518,0.008727398,0.033586007,0.04764911,0.02134283,0.022666417,-0.00438438,-0.003908716,-0.037556764,0.054928835,0.009471916,-0.01414583,0,0.018695658,0.043347456,0.051950768,0.017041175,-0.015634865,-0.022170072,-0.018695658,0.014311278,-0.011415933,-0.022170072,0.018861106,-0.001975039,-0.0029573885,0.014807623,-0.0067420183,0.0005273665,0.0057079666,0.046325523,-0.055921525,-0.03507504,-0.05261256,0.003867354,0.020598313,0.019605624,-0.017372072,-0.065186635,-0.014973071,-0.01853021,-0.035571385,-0.015303968,0.00096166827,0.015055795,0.03308966,0.014807623,0.0102577945,-0.008603312,0.022831867,0.027464418,0.0033503282,-0.006907467,-0.02250097,-0.008024243,-0.078422494,-0.020515589,0.032758765,-0.017206624,-0.013814934,-0.022997314,0.053274352,-0.025975384,-0.0030607935,-0.044340145,-0.020763762,-0.0023162763,0.00537707,-0.015469416,-0.028788004,-0.0243209,0.024486348,-0.055259734,-0.003722587,0.0005532178,0.054928835,0.012656795,-0.013318588,-0.03027704,0.011829554,0.04301656,-0.007734708,0.03126973,0.0021818494,0.05161987,0.041196626,0.00045498283,-0.038218558,0.0075278976,0.027795315,-0.024155453,0.008024243,-0.015552141,0.046987318,0.03342056,-0.03126973,0.014311278,-0.023493659,0.0014993752,0.04764911,-0.01414583,-0.0113332085,0.006493846,0.041196626,0.0040328023,-0.015303968,0.005956139,0.010423243,-0.018033866,-0.03590228,0.0041568885,0.00045498283,0.022004625,-0.041527525,0.013318588,0.034744143,-0.13302043,-0.037391316,0.014724899,0.024486348,-0.028788004,-0.0020267416,0.013401313,0.01273952,0.031931523,0.005542518,-0.023659108,-0.052943457,0.04500194,0.0678338,0.0113332085,-0.033586007,-0.0040328023,-0.0046118717,-0.04086573,0.046656422,0.01315314,0.010588692,-0.031104282,-0.0024403625,-0.011498657,0.010464605,-0.04268566,0.038549453,0.011829554,0.00096166827,-0.015469416,0.0034744143,-0.039707594,0.03011159,0.039542146,0.02829166,0.0045084665,0.044340145,0.0062043113,0.008189691,-0.029946143,-0.0019233365,0.021673728,-0.01795114,-0.00044981256,0.0091823805,0.07015008,-0.021839175,0.009720088,-0.017620245,-0.02928435,-0.00071866607,-0.034744143,0.0034744143,-0.00026109812,0.02092921,-0.03011159,-0.023162762,-0.041692972,0.054928835,0.03027704,-0.0052116215,-0.00897557,-0.006659294,-0.057906907,-0.03590228,0.025644487,-0.009844174,0.008231053,0.0195229,0.030938832,0.0008479226,-0.03507504,0.0012356921,0.0039707595,-0.026140831,0.01993652,0.00876876,-0.039542146,0.030607937,0.011664106,0.05161987,-0.013897657,0.019192003,0.071473666,-0.0041568885,0.04764911,-0.031931523,0.03987304,0.013235864,-0.020846486,-0.007900156,0.009802812,-0.044340145,-0.0008944549,0.0058734147,0.028622556,0.015634865,0.037887663,-0.029449798,0.016048485,0.013897657,-0.0036398626,-0.033255108,-0.015386692,0.016627554,-0.023824556,-0.023162762,0.002574789,-0.015634865,-0.02829166,0.038880352,-0.0390458,-0.023659108,0.039376695,-0.027629867,-0.06386305,0.008892846,0.0072797253,-0.041031178,-0.04764911,-0.017372072,0.016462106,0.057906907,-0.014973071,0.08470953,-0.0047152764,0.041527525,-0.008686036,0.046656422,0.012904967,-0.053936146,0.040534835,-0.028126212,-0.022170072,-0.0020681038,-0.017206624,0.025975384,-0.041527525,0.05095808,-0.0030814747,-0.029780695,-0.016462106,0.06253946,-0.011002312,-0.07908429,0.013814934,0.014973071,0.041527525,-0.00039811,-0.01853021,-0.072797254,-0.05956139,-0.008437864,-0.0010185412,-0.0022025306,-0.046987318,0.010050984,0.010836864,0.004487785,0.033255108,-0.0075278976,-0.007114277,-0.000085955566,-0.06915739,0.04963449,-0.00876876,-0.02134283,0.004446423,-0.05095808,0.04268566,-0.03126973,-0.019688347,0.003825992,0.0081069665,-0.031931523,-0.029118901,0.005501156,0.093974635,-0.0062456736,0.0010599032,0.027629867,0.010340519,-0.026968073,-0.027464418,0.019688347,0.01216045,0.024651797,-0.0041362075,0.017206624,0.009637363,-0.019853797,-0.03408235,0.006121587,0.0056666043,0.0045084665,0.007982881,0.028457109,-0.029118901,0.013732209,-0.07875339,0.014642175,0.020598313,0.030773384,-0.034744143,-0.025644487,0.017785693,0.011250485,0.014890348,0.013070416,0.020432865,0.028788004,0.005004811,-0.012408623,0.02547904,-0.012574071,0.034744143,0.002450703,-0.020846486,0.02547904,-0.022004625,-0.007072915,-0.018861106,0.029449798,-0.0113332085,0.028622556,-0.025148142,-0.042023867,0.025809934,-0.01654483,-0.02531359,-0.0041568885,-0.027795315,0.04599463,-0.00438438,0.048310906,-0.015883038,-0.020267418,-0.057906907,0.04003849,0.011498657,0.04467104,-0.06055408,-0.0022025306,-0.013649485,-0.018282037,-0.01811659,-0.080738775,0.016048485,-0.006493846,-0.011085036,0.0057079666,0.0028953452,-0.010919588,0.017206624,-0.00066696346,0.001975039,0.0053357077,0.09265105,0.004446423,-0.04268566,-0.026968073,0.037391316,0.03342056,-0.0022955951,0.00022102859,0.032924213,-0.019688347,0.02928435,0.02547904,-0.01853021,-0.0021301468,-0.0019440176,0.014559451,0.061877664,-0.008272415,0.00636976,0.0010133708,-0.0046325526,0.01853021,0.018033866,0.023493659,-0.013980381,0.004363699,-0.020101968,-0.008686036,0.027133523,0.0073210876,-0.04301656,0.005832053,0.041692972,-0.028622556,-0.012491347,0.052943457,0.018695658,-0.075775325,0.021177383,-0.026637176,0.081400566,-0.0008737738,-0.011746829,0.051288974,-0.012822243,-0.03226242,0.02547904,0.009844174,-0.04400925,0.027464418,-0.039211247,0.0048186816,-0.036729522,-0.004343018,0.0046532336,-0.04963449,0.041031178,0.01075414,0.015965762,0.05062718,0.029449798,0.045332834,0.0339169,0.05559063,0.011746829,0.006617932,-0.045332834,-0.011250485,0.057245113,0.0243209,-0.032758765,0.019357452,0.020101968,-0.033255108,0.061877664,-0.017123898,0.005997501,0.030607937,-0.002750578,0.048972696,-0.017041175,-0.0067833806,-0.027133523,-0.04268566,-0.0113332085,0.06452484,-0.009099657,-0.036894973,-0.002109466,0.009430553,0.021177383,0.039211247,0.01414583,-0.032924213,0.008892846,-0.052281663,0.025644487,-0.048310906,-0.015800312,-0.046987318,-0.029615246,0.020432865,-0.00050151517,-0.07015008,0.03706042,-0.014476727,-0.02109466,-0.0048186816,0.07378995,-0.01315314,-0.056914218,0.01216045,-0.00086343335,-0.018778382,0.046987318,-0.0023162763,-0.0029573885,0.006535208,-0.05923049,0.0017165261,-0.016462106,-0.027629867,0.03772221,-0.00438438,0.04301656,0.03342056,0.015303968,-0.013401313,-0.022997314,0.04268566,0.008024243,0.0046118717,-0.042354766,0.012656795,0.00835514,-0.048310906,0.04086573,-0.005832053,0.000082077866,0.014228554,-0.033751454,0.054267045,0.000022943026,-0.0050668544,0.02729897,-0.013070416,0.005025492,-0.021177383,0.016793003,0.04367835,-0.02630628,0.0014683537,-0.08007698,-0.024651797,-0.010092347,0.0067006564,-0.02829166,0.058237802,0.050296284,0.014890348,0.032924213,0.0062043113,-0.023328211,-0.051288974,0.059892286,-0.016627554,-0.05360525,-0.048310906,0.024486348,-0.04764911,-0.03706042,0.00537707,0.0034537334,-0.0014373321,-0.031766076,0.008024243,-0.016048485,-0.03507504,-0.0018199313,0.036564074,-0.036729522,-0.037556764,-0.007734708,0.031931523,-0.012904967,-0.023162762,0.01075414,0.012325899,-0.00007109107,-0.02547904,0.004735958,-0.019688347,0.010919588,-0.016048485,-0.0029573885,0.0045498284,0.005418432,-0.07246636,-0.04301656,-0.039542146,0.013814934,0.011746829,-0.018695658,0.017620245,-0.03606773,-0.017372072,0.018282037,0.008065605,0.00976145,-0.055259734,0.016048485,0.009637363,-0.0034537334,0.022666417,0.05261256,-0.019605624,0.009678726,0.004963449,0.056252424,0.018778382,-0.06287035,-0.033751454,-0.010588692,0.03490959,-0.049303595,0.04996539,0.0062043113,0.040534835,-0.01414583,-0.005459794,-0.014724899,0.01654483,0.032427866,0.0034744143,0.012325899,0.0029367073,0.008065605,-0.013235864,0.005459794,0.028457109,0.018282037,0.03722587,-0.009141019,-0.033255108,0.029449798,-0.03987304,-0.012243174,0.009099657,0.0074038114,0.023328211,-0.0026678538,0.0003567479,0.010505967,-0.008520587,0.0073624495,0.021177383,-0.011250485,0.012574071,-0.0339169,-0.029615246,-0.0046532336,0.009347829,-0.009058295,0.01216045,0.047318216,0.014807623,-0.04599463,0.032593317,-0.047980007,0.025809934,0.011995002,-0.0016855046,-0.015800312,-0.020432865,0.0009668385,-0.005418432,0.057245113,-0.018364761,-0.02729897,-0.0051909406,0.08868029,0.004860044,-0.00139597,0.012574071,0.051288974,0.0010237114,0.046325523,0.034247797,-0.003805311,-0.041196626,0.013814934,-0.002109466,0.031766076,-0.0052529834,0.0057079666,0.019026555,0.003929397,-0.04764911,0.048972696,-0.015386692,-0.019688347,0.007114277,0.022004625,0.026637176,-0.0017889098,0.013566761,0.08603312,-0.026140831,0.040534835,-0.0067006564,-0.026140831,-0.017289348,0.016793003,0.022666417,0.019357452,-0.009306467,0.0056252424,0.033586007,0.03126973,-0.05459794,0.048972696,0.031766076,-0.011002312,0.031435177,-0.046987318,0.026471728,0.008313777,0.0041568885,0.027629867,-0.03308966,0.04400925,0.0688265,0.011002312,-0.005956139,0.04400925,-0.017206624,-0.0058734147,-0.0081069665,0.0022542332,0.016793003,-0.009720088,0.07048098,0.020681038,-0.01753752,0.03027704,-0.009513278,0.044340145,0.04963449,-0.018199313,0.019688347,0.019771073,-0.056914218,-0.01513852,0.012243174,0.0034123713,0.015883038,0.031104282,0.0042396127,0.052943457,-0.008189691,0.04467104,-0.05161987,0.010009622,0.013732209,0.027133523,-0.0113332085,-0.00976145,-0.009223743,0.016875727,-0.0031021556,0.037391316,-0.0018612935,0.0243209,0.05161987,-0.011002312,-0.016462106,0.009678726,0.014228554,-0.03706042,-0.026471728,-0.019109279,0.020267418,-0.01695845,0.03524049,-0.02531359,-0.052943457,-0.013897657,0.052943457,0.04218932,0.01075414,0.016462106,0.029946143,-0.024486348,-0.00020422525,-0.014973071,0.0051082163,-0.02134283,-0.0057079666,-0.01273952,-0.01116776,-0.020515589,-0.014642175,0.06287035,0.025148142,0.03408235,0.010133709,-0.007900156,-0.028953454,-0.01116776,-0.0012925649,-0.024155453,0.01414583,-0.03590228,-0.012243174,-0.04367835,-0.01075414,0.0010082006,-0.06320125,-0.0035985005,0.014394002,0.01116776,-0.025644487,0.025975384,-0.00058940955,0.01273952,-0.006493846,0.008231053,-0.01216045,-0.0068661044,-0.0020370823,-0.027795315,0.0026678538,0.0045911903,-0.0058734147,0.024982695,0.022666417,-0.01613121,-0.008231053,0.001256373,-0.0091823805,0.021673728,-0.016875727,0.023328211,0.0015820994,-0.03772221,-0.018943831,-0.056914218,-0.019357452,0.045663733,0.05559063,0.07048098,-0.0029573885,-0.021673728,0.03987304,0.043347456,0.07015008,0.025809934,-0.028126212,0.022004625,0.0072383634,0.03226242,0.025975384,0.023659108,-0.033751454,0.08868029,0.025809934,0.033751454,-0.027960762,0.003288285,0.011581381,-0.022666417,-0.04500194,-0.0069901906,0.058237802,-0.006907467,0.005294346,-0.0052116215,0.022666417,0.018695658,0.06055408,-0.049303595,0.03441325,0.014228554,0.017702969,0.06154677,-0.012656795,0.029946143,0.011581381,0.0047152764,-0.00029599736,-0.021011934,0.0036812248,0.0025437677,0.035405938,0.02531359,0.027629867,-0.0040121214,0.03606773,-0.015800312,-0.004198251,0.045332834,0.0045498284,-0.00876876,0.030938832,0.005832053,-0.009802812,-0.0585687,-0.007900156,0.0015200563,-0.009844174,-0.04764911,-0.01795114,0.0057906904,0.033255108,-0.05757601]},{"index":1,"object":"embedding","embedding":[0.03353144,0.01893442,-0.009717444,-0.1307893,0.04237306,0.06606194,0.006339277,0.00838286,-0.04837869,0.010134502,-0.010009385,-0.04270671,0.043707646,-0.011343969,-0.06272548,0.07540403,-0.03136274,0.119445324,0.029194038,-0.028526746,-0.018016892,0.043374,0.016348662,0.10476489,-0.04437494,0.016432073,-0.032196853,0.14213327,-0.042539883,-0.062391832,0.025190284,-0.022354292,-0.06606194,-0.012511731,0.0036492548,-0.014847253,0.018767595,0.047377754,-0.014847253,0.021019708,-0.005463456,-0.034365553,0.058054432,0.0012615995,0.07640497,0.008591388,0.059389014,0.038869776,-0.011510792,0.007924096,-0.042539883,-0.034866024,0.014847253,-0.029694507,0.0087582115,-0.045709524,0.03203003,-0.0027525807,0.040371183,0.01192785,-0.05038057,0.04070483,-0.065061,-0.0149306655,0.037201546,0.048045047,0.008424565,0.02869357,-0.06372642,-0.037201546,0.018851008,-0.009842562,0.0060473364,0.035032846,0.0063809827,0.034532376,0.0022521114,-0.051715154,0.025857577,0.029027216,0.0074653327,0.043374,-0.015014077,0.03086227,0.038869776,0.037201546,0.07440309,0.03353144,0.037201546,0.031195916,-0.042039417,0.03570014,0.004545929,0.015848191,0.056719847,-0.017266188,-0.0563862,-0.039870717,0.0031487856,-0.014847253,-0.020519238,-0.0151809,0.029694507,-0.009675738,-0.013679492,0.049379632,-0.06172454,0.0025127726,-0.03803566,-0.019935358,-0.012928789,-0.028860392,0.008466271,0.014179962,-0.04404129,-0.0059222193,-0.012261496,-0.032363676,-0.0075487443,0.021853823,0.03636743,-0.0151809,-0.0118444385,0.0051089567,0.0043374,0.014263373,-0.03303097,-0.03736837,0.04604317,-0.026191223,0.0065895114,0.005025545,0.0035241374,-0.0062141595,0.010301325,0.006672923,0.0040246067,0.0006412262,0.035533316,0.023021584,-0.020269005,-0.0025544784,0.0238557,-0.010760088,0.017516423,-0.012428319,-0.00527578,0.015097489,0.009842562,0.025023462,0.026691692,-0.0041497243,-0.041372124,-0.01409655,-0.015347723,-0.003086227,-0.020769473,-0.0390366,-0.0045667817,0.022354292,-0.025357109,-0.0040663127,-0.0068814517,-0.01893442,-0.016098427,0.06739652,-0.03570014,-0.040871654,-0.02218747,-0.009842562,-0.0025127726,0.009800856,-0.005046398,-0.025690753,-0.0075487443,-0.002356376,-0.025023462,-0.00527578,-0.03419873,0.01684913,0.029027216,0.0040663127,0.012928789,-0.009091858,0.018016892,0.021520177,0.023688877,-0.030695446,-0.013262435,-0.02218747,-0.034365553,-0.016432073,-0.026691692,-0.02435617,-0.018684184,-0.05104786,0.030695446,-0.008591388,0.0108435,-0.03970389,-0.035533316,-0.027525807,0.015014077,0.027358985,-0.04053801,-0.004525076,0.042039417,-0.03636743,-0.02218747,-0.024689816,0.008424565,-0.014513608,-0.023188408,0.015347723,-0.017099366,0.020852884,0.0082160365,0.014013139,0.018600773,0.04003754,0.048045047,0.00838286,-0.0011625483,0.019101242,0.004358253,-0.04871234,0.025690753,-0.0082994485,0.00018897926,0.040871654,0.012928789,-0.010426442,-0.008883329,0.0029611096,0.059389014,-0.020936295,-0.003962048,0.03970389,0.031029092,-0.032697324,0.020852884,0.022354292,-0.0281931,-0.021269942,-0.048045047,0.050046925,0.004900428,0.008549683,-0.028860392,0.042039417,0.03086227,-0.09742468,-0.029360862,0.07773955,0.0020435827,-0.034532376,0.0173496,0.019768534,-0.004170577,0.025023462,0.07740591,-0.012761965,-0.041372124,0.028359924,0.06139089,0.015931604,-0.028359924,0.0023459494,-0.013262435,-0.012261496,0.043040354,0.032697324,0.013596081,0.0016995101,-0.012678554,0.027025338,0.0025544784,-0.05038057,0.0238557,0.024022523,0.0038577837,0.022521116,-0.005046398,-0.0563862,0.0007194245,0.04020436,0.031195916,0.025023462,-0.025857577,0.033865083,0.013095612,0.0009331666,-0.0563862,0.00058648735,-0.028359924,0.03186321,-0.006005631,0.045375876,0.02010218,-0.025357109,0.0260244,-0.013929727,-0.027859453,-0.042539883,-0.047377754,-0.0065895114,0.014597019,-0.028026277,0.020435827,-0.054050677,0.043374,0.022687938,0.016515484,-0.018350538,0.034365553,-0.0130122,-0.007215098,0.015514546,-0.021853823,-0.024689816,0.01568137,0.013679492,-0.03620061,-0.017766658,0.009925973,-0.015848191,-0.03953707,0.029694507,-0.023688877,-0.047044106,0.010760088,0.025357109,0.06272548,0.008799917,-0.0017516423,0.05738714,0.024856638,0.04437494,-0.02769263,0.038869776,0.0149306655,0.007381921,0.04053801,-0.029861331,-0.07240122,-0.013596081,-0.014263373,0.0281931,0.010593265,0.03536649,-0.03853613,0.029194038,0.0082160365,0.024022523,-0.05038057,-0.005880513,0.018016892,0.043040354,-0.030528624,0.031029092,-0.020519238,-0.034866024,0.033197794,-0.023188408,-0.0022729645,-0.013095612,-0.021520177,-0.035032846,0.054050677,0.0017933481,-0.018016892,-0.056052554,0.008549683,0.058054432,0.05705349,0.04504223,0.060056306,0.010509854,0.027025338,0.01785007,0.0072985096,0.0052966326,-0.034866024,-0.0060890424,-0.030194977,-0.021520177,-0.016432073,-0.027358985,-0.002356376,0.02218747,0.028026277,-0.04070483,0.021853823,0.02010218,0.057720784,-0.013095612,-0.056052554,0.05538526,-0.0062141595,0.0040246067,0.022687938,-0.009842562,-0.07507038,-0.01893442,0.034365553,-0.014847253,0.012761965,-0.035533316,-0.009675738,0.012678554,0.011594204,0.03086227,-0.04187259,-0.021520177,0.043374,-0.022687938,0.043040354,-0.00896674,-0.025190284,0.020435827,-0.017766658,0.011260558,-0.059389014,0.030194977,-0.019768534,-0.0130122,-0.0086748,-0.03853613,-0.0011938276,0.101428434,-0.0065895114,-0.007965802,-0.022521116,0.028359924,-0.09208634,-0.015014077,0.032363676,-0.013345846,0.022521116,-0.040871654,-0.011343969,0.018684184,-0.04270671,-0.006547806,-0.011010323,-0.00896674,0.01005109,0.01684913,-0.0005317486,0.0068814517,0.061057247,-0.029360862,-0.009884267,0.02001877,-0.003419873,-0.03853613,-0.04053801,-0.04170577,0.04871234,0.014763842,-0.051715154,0.04671046,-0.018851008,-0.013512669,-0.03636743,0.0390366,-0.03303097,0.010593265,0.014430196,-0.014763842,0.031696383,-0.008466271,0.0011990409,-0.0020644355,0.007965802,-0.0035241374,0.0015743928,0.01676572,-0.054050677,0.026691692,-0.0368679,0.0031904913,-0.00896674,-0.042039417,0.06272548,-0.017015954,0.058054432,-0.032363676,-0.002241685,-0.047044106,0.038869776,0.034532376,0.026358046,-0.059722662,0.025690753,-0.0173496,-0.005463456,-0.03203003,-0.07907414,0.032697324,-0.004671046,-0.025690753,0.029194038,0.013679492,-0.03203003,-0.022521116,0.012678554,0.02060265,0.031696383,0.048045047,0.00047700974,-0.06572829,-0.0065895114,0.041372124,0.011177146,-0.0055051614,0.034866024,0.04437494,-0.010009385,0.016098427,-0.021269942,-0.005963925,0.039370246,-0.02552393,-0.0173496,0.07273486,0.029027216,0.007048275,-0.020769473,0.0031279328,0.012595142,0.0029194038,0.018600773,0.015347723,0.044708584,-0.023688877,-0.00020852884,0.03403191,-0.01568137,0.013262435,-0.015848191,-0.019601712,-0.024189346,-0.005380044,0.05038057,0.0325305,-0.018767595,0.030528624,0.019351477,0.060056306,-0.007089981,-0.00035710566,0.08007508,-0.009925973,-0.021353355,-0.002523199,0.014763842,-0.043040354,0.06172454,-0.0149306655,-0.015431135,0.059722662,0.013179023,-0.059389014,-0.0128453765,-0.0035658432,-0.009258681,-0.005880513,0.0034615789,0.012928789,0.054050677,0.014179962,0.030528624,0.0051923683,0.039203424,-0.058388077,-0.032363676,0.027192162,0.011761026,-0.024856638,0.04237306,-0.028359924,-0.007798979,0.041372124,-0.043374,0.0238557,0.011510792,0.008174331,0.04237306,-0.049379632,0.011260558,-0.045709524,0.0010009385,0.026691692,0.05271609,0.014597019,-0.03753519,0.038702954,-0.0036492548,-0.028359924,0.03970389,0.043040354,-0.0068814517,0.024522992,-0.05471797,-0.0074236267,-0.033865083,-0.0477114,-0.03419873,-0.026191223,-0.040371183,0.02335523,-0.09208634,0.018100305,-0.049713276,-0.0563862,0.014346785,0.1040976,-0.012595142,-0.04437494,0.018267127,-0.00075070385,-0.006130748,0.047377754,-0.0020123033,0.01793348,0.0128453765,-0.018767595,-0.032196853,-0.023188408,-0.03353144,0.014263373,-0.035032846,0.0067563346,0.028526746,-0.020936295,-0.012344908,-0.0024919198,0.0477114,-0.018517362,-0.019268066,-0.022354292,0.02335523,0.025357109,-0.0030445212,0.031195916,-0.051381506,-0.005213221,-0.00096965913,-0.059389014,0.05038057,0.026358046,-0.009258681,0.03419873,-0.0060890424,0.0014179961,-0.025857577,-0.00946721,0.034532376,-0.0238557,-0.0303618,-0.036033783,-0.004712752,-0.008716506,-0.02769263,-0.041038476,0.062391832,0.07473674,0.049713276,0.0067980406,0.025023462,-0.02218747,-0.02435617,0.049379632,0.013512669,-0.039203424,-0.0303618,0.0011052028,-0.04170577,-0.031696383,0.039370246,0.00946721,0.03186321,-0.013679492,0.0173496,-0.010760088,-0.030194977,0.019935358,0.0017620687,-0.009258681,-0.03586696,-0.017433012,0.02769263,-0.05705349,-0.013596081,0.058054432,0.029360862,-0.00788239,-0.05038057,-0.0082994485,0.016515484,0.002001877,0.0060473364,0.0007611303,0.014013139,-0.021520177,-0.04837869,0.006672923,-0.0281931,-0.013846315,0.058721725,-0.003795225,0.03303097,-0.0019601712,0.008424565,0.011510792,0.005046398,-0.0074653327,-0.04270671,0.0071316864,0.017766658,0.00060212705,0.026191223,0.04871234,-0.0390366,-0.017599834,0.008466271,0.029360862,0.03152956,-0.043040354,-0.04404129,0.017599834,0.02335523,-0.013512669,0.04020436,0.026691692,0.034866024,0.013679492,-0.016598897,0.024189346,0.016181838,0.0031279328,-0.019351477,0.0260244,-0.00057606096,0.007924096,-0.0023459494,0.015848191,0.04871234,0.047044106,0.06172454,-0.012678554,-0.001532687,0.058388077,-0.00032582632,-0.028526746,0.010301325,0.00975915,0.038869776,-0.008549683,0.0035449904,-0.0281931,-0.022521116,-0.00016226151,0.0023980818,-0.009634033,0.027192162,-0.03403191,-0.036701076,-0.011677615,0.032864146,0.02335523,0.037702017,0.06973205,0.027525807,-0.0024189346,0.03536649,-0.021853823,0.023522053,0.021520177,-0.023688877,-0.020185592,-0.01409655,0.00263789,-0.022521116,0.09609009,0.02435617,-0.02869357,0.010468148,0.03736837,-0.004316547,0.0018350539,-0.024856638,0.03636743,-0.008799917,0.04437494,-0.013596081,-0.0009071005,-0.013846315,0.0032113441,-0.0042539886,0.0019601712,-0.035533316,0.03853613,0.022020645,-0.026691692,0.004900428,0.041538946,-0.00021765198,-0.049379632,0.03953707,0.0012668128,-0.006297571,0.022854762,0.00073506415,0.046376817,0.030194977,-0.024856638,0.022687938,0.005254927,-0.008466271,-0.006672923,0.009050152,0.023021584,-0.0032113441,0.0029402566,0.0607236,0.02869357,-0.020185592,0.0130122,0.012261496,0.013429258,0.03303097,-0.030528624,0.03970389,0.021687,-0.045375876,0.032697324,-0.015597958,0.07974143,0.021853823,0.021520177,-0.0012146805,0.03152956,0.011343969,-0.01576478,-0.009550621,-0.004003754,0.0038786365,0.02118653,0.041038476,0.03536649,-0.0012772392,0.029027216,-0.023021584,0.03519967,-0.030528624,-0.0021269943,0.017099366,0.002731728,-0.045709524,-0.005025545,-0.055051614,0.014263373,0.0019184654,0.036701076,-0.041538946,0.045709524,0.037034724,0.01676572,0.0042122826,-0.013345846,0.040871654,0.008549683,-0.02869357,-0.027859453,-0.033197794,0.022521116,0.016432073,0.0325305,0.040371183,0.012011262,0.02335523,-0.0036701078,-0.0149306655,-0.021019708,-0.012261496,-0.010926912,-0.034532376,0.011260558,0.020769473,-0.0066312174,-0.0149306655,0.034532376,-0.037702017,-0.009342092,0.044708584,-0.0062141595,-0.017516423,0.008132625,0.05738714,-0.027859453,-0.0069231577,-0.03753519,-0.0041080182,-0.007048275,-0.02435617,-0.020269005,-0.03136274,0.007256804,-0.002001877,0.05304974,-0.0033364615,0.034365553,0.0066312174,-0.0039203423,-0.06706288,-0.012511731,-0.009717444,0.014513608,-0.00788239,-0.006130748,0.01626525,0.0019288919,-0.042539883,-0.00542175,-0.0563862,-0.0069231577,-0.0060890424,0.012094673,-0.0017933481,0.0029611096,0.022854762,0.06672923,-0.0041497243,-0.027025338,-0.005630279,0.0013971432,0.0067980406,-0.049045984,-0.0017412158,-0.012094673,-0.00085496827,0.0068814517,0.009091858,-0.024689816,0.0173496,-0.03303097,0.037702017,0.016098427,-0.05471797,0.009425504,-0.022521116,0.018183716,0.004900428,-0.062058184,-0.026191223,0.029360862,0.04020436,0.07473674,-0.007381921,-0.016598897,0.03853613,0.021687,0.054384325,0.03803566,-0.04404129,0.023688877,0.024022523,0.013512669,0.024522992,-0.0028151395,0.01626525,0.021520177,0.012011262,0.004671046,0.011177146,0.00448337,0.0052966326,-0.007965802,-0.023522053,0.0024814932,0.009008446,0.027525807,-0.016015016,0.007924096,0.008633094,0.060389955,0.0029611096,-0.048045047,-0.011093735,0.027025338,0.031696383,0.029527685,-0.015097489,0.0346992,-0.000636013,0.008174331,0.031029092,0.02001877,0.0019497448,-0.0026483163,0.030028153,0.016682308,0.00542175,0.007840685,0.008591388,0.0030236682,-0.021019708,-0.017516423,0.02652487,-0.02652487,0.048045047,-0.007757273,-0.00946721,-0.024856638,0.01893442,0.028526746,0.00032321972,-0.0025544784,-0.00946721,0.050714217,0.04437494,-0.038869776]},{"index":2,"object":"embedding","embedding":[0.045221306,-0.043643817,-0.0126199,-0.12059015,0.023487035,0.039787736,0.01980623,0.028745325,-0.034003615,-0.008325628,0.0026401004,-0.015599597,0.04697407,-0.011918793,-0.046623517,0.12970452,-0.016388342,0.039086632,0.013671557,-0.022435376,-0.05749065,-0.03540583,0.008719999,0.059243415,-0.023136482,-0.020069145,-0.069058895,0.11077467,-0.044695478,-0.06485226,-0.017352361,-0.072213866,-0.009508744,0.003089246,-0.024538692,-0.016037788,0.09535035,-0.014810854,-0.016388342,0.045571856,-0.015862511,-0.014898492,0.10656804,-0.01647598,0.046272963,-0.0039875377,0.045571856,0.036983315,0.036457486,0.0025305527,-0.03961246,-0.0056526633,-0.008807638,-0.032075576,-0.013759196,-0.011743518,0.023837587,0.0016541708,0.018491657,0.0077121607,-0.020594975,0.075368844,-0.022610653,0.035055276,0.015774874,0.034879997,0.0033521608,-0.031549748,0.009552563,-0.047675174,0.027518392,-0.0319003,-0.010341306,0.04399437,0.02804422,0.049427938,0.034003615,-0.07116221,0.018842211,-0.0020923617,-0.011655879,0.08798874,0.033653066,0.017615275,0.006003216,0.06099618,0.06485226,0.002716784,-0.012444623,-0.00484201,-0.016125428,0.027868943,-0.06204784,0.014372663,0.06204784,-0.0035055275,0.0063975877,0.0011502512,-0.0005532161,-0.013408643,-0.010385125,-0.034178894,-0.012882814,-0.013233366,0.0445202,0.040313568,-0.05889286,0.025064522,-0.034529448,-0.039787736,0.008807638,-0.009727839,-0.009903115,0.010691859,-0.060295075,-0.018579297,-0.021997185,-0.03242613,-0.0048201005,0.0067043216,0.06450171,-0.02418814,-0.017264724,-0.016738893,0.021646632,0.02997226,-0.038034976,-0.025415074,0.055387337,-0.01840402,-0.022785928,-0.03961246,-0.0222601,-0.0009585427,0.019192763,0.019105125,-0.016388342,0.008588542,0.039963014,0.029621707,0.029095879,-0.010209849,-0.03242613,-0.013408643,0.020069145,0.02997226,0.010341306,0.0018951758,0.03733387,0.037684422,0.03575638,-0.0107356785,-0.043468542,-0.01840402,-0.015161406,0.03435417,0.000750402,-0.008281808,0.009245829,0.014197387,-0.004009447,0.013233366,0.0048201005,-0.036457486,-0.010472763,0.038385525,-0.055737887,-0.024363417,0.01647598,0.010823316,0.003965628,0.023311758,0.012006432,-0.03961246,0.0054992964,-0.039261907,-0.07992603,-0.016388342,-0.0031987939,0.012444623,0.00085994974,-0.0062661306,-0.021120803,-0.012707537,0.009771658,0.0015665327,0.011655879,-0.040664118,-0.022785928,-0.024363417,-0.0062223114,-0.025064522,-0.00016637563,-0.012795175,-0.02944643,-0.05223236,0.053985123,-0.012707537,0.014460301,-0.044695478,-0.0638006,-0.057841204,0.020945527,0.013496281,-0.019543316,-0.027518392,0.0098592965,-0.028745325,-0.025415074,-0.06099618,0.042942714,0.0009147236,-0.026992561,0.019718593,0.028394774,-0.009289648,0.022785928,0.013671557,-0.001062613,0.006441407,0.06590392,0.020244421,-0.0029358794,0.029796984,0.043293264,-0.066605024,0.040839396,-0.022084823,0.0022895476,0.022961205,0.019192763,-0.034529448,0.03540583,0.007493065,0.077822715,-0.020244421,0.009464924,0.0077121607,0.053985123,0.011918793,0.017965829,0.009026733,-0.030322812,-0.0067919595,-0.021033166,0.029095879,-0.009289648,0.02559035,-0.027518392,0.08483376,0.050129045,-0.08658653,-0.04118995,0.010691859,0.030147538,-0.003724623,-0.0054992964,-0.020156784,0.02077025,0.00004313442,0.02366231,-0.03873608,-0.02997226,0.06204784,0.062748946,0.010691859,-0.017527638,-0.034003615,0.0011392965,-0.038560804,0.035581104,0.016826533,-0.019017488,-0.032776684,-0.0010790452,-0.01647598,-0.0060908543,-0.08763819,0.008457085,0.063099496,-0.051531255,0.0063975877,-0.011831155,-0.032601405,0.018929848,0.03628221,0.0017746734,0.022961205,-0.022435376,0.014460301,0.0062661306,0.027868943,-0.063450046,-0.00823799,-0.008632362,0.0059593967,0.011568241,0.05188181,0.015424321,-0.0066605024,0.018842211,-0.0037684422,-0.022610653,-0.011655879,-0.016563617,-0.006967236,0.05188181,-0.032776684,0.00010543969,-0.017001808,0.014898492,0.030147538,-0.009508744,-0.061346732,0.012795175,0.007405427,-0.0062223114,0.052582912,-0.0252398,-0.016037788,-0.019105125,0.05468623,-0.033653066,0.016125428,-0.004644824,-0.031374473,0.008588542,0.025940904,-0.021383718,-0.04977849,0.008500904,0.004294271,0.07466774,-0.019718593,0.0008818593,0.066955574,0.026992561,0.063099496,-0.009114372,0.019981507,0.013846834,-0.0006627638,0.010034572,0.039261907,-0.07712161,0.010034572,-0.052933466,0.014460301,0.012795175,0.020156784,-0.03382834,0.017615275,-0.034879997,0.0068357787,-0.054335676,-0.019543316,0.047675174,0.035931658,-0.0252398,0.0022895476,0.013759196,-0.063099496,0.034003615,0.008807638,-0.014460301,-0.004601005,-0.008895276,-0.07116221,0.02944643,-0.033302512,-0.0126199,-0.05083015,-0.002377186,0.027167838,0.077822715,-0.0098592965,0.06835779,0.02857005,0.040313568,0.008325628,0.03575638,-0.024012864,-0.021734271,-0.013233366,0.017001808,-0.004644824,-0.017089447,-0.032776684,-0.0033959798,-0.021558994,0.022347739,0.022347739,0.048726834,-0.010691859,0.06415115,0.032250855,-0.08167879,-0.024538692,0.010209849,0.034529448,0.04311799,-0.0040970854,-0.027518392,-0.0034178894,0.017001808,0.0024538692,-0.009903115,-0.015599597,0.0037903516,0.0067481403,0.033653066,-0.000991407,-0.013496281,0.010209849,-0.022961205,-0.01064804,0.043468542,-0.018929848,-0.01402211,0.010472763,-0.03733387,0.022435376,-0.07501829,0.0004135427,0.011480602,-0.021471357,-0.01647598,-0.040313568,-0.045221306,0.069058895,0.0053897486,-0.0252398,0.0077997986,0.021383718,-0.03102392,-0.03540583,0.022961205,0.02664201,0.00630995,-0.007493065,0.034178894,0.029271156,-0.018053466,-0.0415405,0.00532402,-0.017089447,-0.007054874,0.033653066,-0.010209849,-0.020419698,0.054335676,-0.0029796984,-0.019455679,-0.020332059,-0.002070452,-0.07501829,-0.004447638,-0.061697286,0.033127233,0.014372663,0.021821909,0.027518392,-0.034529448,-0.012532261,-0.012882814,-0.019017488,0.009333467,0.0014898492,0.040313568,-0.03540583,-0.0252398,-0.013583919,-0.0068357787,-0.04977849,0.017264724,-0.020419698,-0.004162814,0.0076245223,-0.0415405,0.021909548,-0.011305327,-0.015249045,0.014197387,-0.059593968,0.04977849,-0.012707537,0.039086632,-0.012356984,-0.0072301505,-0.06450171,0.022172462,0.009070553,0.018053466,-0.04977849,-0.0018404019,-0.0017089447,-0.030673366,0.002651055,-0.07887437,0.004995377,-0.015774874,-0.015599597,0.0030454271,0.033127233,0.038560804,-0.004754372,-0.006572864,-0.008325628,0.0025853266,0.034003615,0.025415074,-0.04697407,-0.048726834,0.03049809,0.013846834,-0.0063975877,0.00033001255,-0.0056526633,-0.016826533,0.027693668,-0.020156784,0.06765668,0.03961246,-0.030673366,-0.028745325,0.089741506,0.027518392,-0.016300702,0.029095879,0.026817286,-0.008500904,0.021471357,0.02418814,-0.016651256,0.021120803,-0.021033166,0.009771658,0.029796984,0.003001608,0.004754372,-0.022785928,-0.026466733,-0.052582912,0.00023278894,0.019543316,0.024713969,-0.03540583,0.02559035,-0.021558994,0.051531255,-0.032776684,-0.01840402,0.055387337,-0.014635578,0.030848643,-0.021909548,0.050129045,0.0094211055,0.06625447,0.00042449747,0.015336683,0.020156784,0.007843618,-0.039787736,-0.011918793,0.013846834,0.018842211,0.025940904,0.04118995,0.0067919595,0.059243415,-0.02804422,0.03049809,0.061697286,0.01402211,-0.08448321,-0.013408643,0.044169646,-0.03575638,-0.032601405,0.06590392,0.03733387,-0.00071753765,0.029621707,-0.024713969,0.013671557,-0.0023990953,0.051531255,0.04171578,-0.032776684,0.016826533,-0.027518392,0.016563617,0.0029139698,0.055387337,-0.03242613,-0.030147538,-0.0059155775,-0.035581104,-0.011831155,0.0066605024,0.03523055,0.009990754,0.014372663,-0.049077384,0.05083015,-0.02944643,-0.033127233,-0.028394774,-0.01595015,-0.015424321,0.0043380903,-0.04101467,0.032601405,-0.05083015,-0.019017488,-0.0008380402,0.033653066,-0.03049809,-0.06625447,0.024713969,-0.046272963,-0.0037684422,0.037509143,-0.016388342,0.02077025,0.015073769,-0.008676181,0.0072301505,0.00085994974,-0.011042411,0.034003615,-0.02418814,0.047675174,0.023487035,-0.01595015,-0.0045133666,-0.048726834,0.038385525,-0.0037465326,-0.01980623,-0.020682612,0.026466733,0.008150351,0.029271156,0.02129608,-0.014635578,0.05889286,-0.017790552,-0.047675174,0.07151276,0.019105125,-0.054335676,0.019543316,-0.049427938,0.026817286,-0.019630954,0.02804422,0.0415405,-0.043643817,0.026291456,-0.05468623,-0.040664118,-0.011568241,-0.034529448,-0.025765628,0.020332059,0.01787819,0.05083015,-0.0025743719,0.019455679,-0.040488843,-0.02804422,0.014547939,0.023136482,-0.02611618,0.006003216,0.034003615,-0.025765628,-0.044695478,-0.019192763,-0.005565025,0.0025853266,-0.07922492,0.0023114572,-0.0076245223,-0.044344924,0.02664201,-0.001062613,0.004403819,-0.047675174,0.0039437185,-0.039787736,-0.01831638,-0.034879997,0.030673366,0.035055276,-0.019017488,-0.023487035,-0.0098592965,-0.00823799,0.010516583,-0.031199194,0.02077025,-0.005871759,-0.009114372,-0.038034976,0.017089447,-0.009333467,0.0222601,0.06415115,0.006529045,0.009026733,-0.006134673,0.005740301,0.030673366,-0.0075368844,-0.015161406,0.005871759,-0.0012324121,-0.0055431155,0.0037027134,0.040839396,0.083081,-0.022172462,-0.007843618,0.013145728,0.04399437,0.035581104,-0.02997226,-0.020244421,-0.0571401,-0.0031330653,-0.006967236,0.0067481403,-0.022961205,0.07606995,0.010253668,-0.0059593967,0.013583919,0.034879997,0.006879598,-0.015424321,-0.026466733,-0.0008270854,-0.024363417,0.0018623115,-0.007843618,0.010122211,0.027343115,0.036106933,-0.0033521608,-0.019280402,0.024363417,0.020594975,-0.0004518844,-0.009508744,0.029796984,0.0040532663,0.013934472,0.024363417,-0.025765628,-0.03102392,0.028745325,0.02944643,-0.01402211,0.05468623,-0.02120844,-0.034003615,-0.013408643,0.037509143,0.031725023,0.013233366,0.03821025,0.02804422,-0.027343115,0.015599597,-0.024538692,0.017264724,0.0022347737,0.03382834,-0.037158594,-0.0068357787,-0.026817286,-0.026466733,0.07501829,0.010472763,-0.0018623115,0.01209407,0.0638006,0.0077121607,-0.0039437185,-0.009596381,0.037859697,-0.03435417,0.059593968,0.008018894,0.0021142713,-0.01840402,-0.005477387,-0.017352361,0.017527638,-0.03663276,-0.010779497,0.027693668,-0.0027386935,-0.014723215,0.006923417,0.0063975877,-0.00010680904,0.010954774,0.0039437185,0.023487035,0.0011119095,0.004885829,0.006572864,-0.03295196,0.027518392,-0.010253668,0.0053678392,-0.02857005,-0.0015227136,0.02944643,-0.006967236,-0.009333467,0.02418814,0.009464924,0.0038341708,-0.04399437,0.044870753,0.019105125,0.0035712563,0.03540583,-0.030673366,0.016651256,0.032776684,0.015774874,-0.010560402,-0.02129608,0.05468623,0.042066332,-0.024363417,-0.021471357,0.051531255,-0.01305809,-0.013496281,-0.044870753,0.034178894,0.0034617085,0.037158594,0.059593968,0.054335676,-0.005126834,-0.021646632,0.0089829145,0.025064522,0.021734271,0.02366231,-0.05223236,0.029796984,-0.026466733,-0.014285025,-0.060295075,0.01691417,0.00039437186,0.02085789,0.011392964,0.021997185,0.003965628,0.011831155,0.0030235176,-0.037158594,0.038385525,0.040488843,-0.040839396,0.002848241,-0.024713969,0.0319003,-0.0067919595,0.04732462,-0.011392964,-0.017439999,0.045221306,-0.002070452,0.024889246,-0.017001808,-0.021646632,-0.00014788944,-0.017001808,-0.012356984,0.0025853266,-0.0051925625,0.0029796984,0.05749065,-0.06590392,0.04697407,0.03733387,0.016300702,-0.013145728,-0.0004491457,0.019105125,-0.056789547,-0.012532261,-0.010691859,0.004250452,-0.013671557,-0.010779497,-0.019280402,-0.02664201,-0.020244421,-0.043643817,0.04259216,0.033653066,-0.00266201,-0.025765628,0.04311799,-0.043468542,0.018228743,0.018754572,-0.014197387,-0.010910954,-0.0012543215,-0.021821909,0.01647598,-0.0002820854,-0.01831638,0.03049809,-0.0024538692,-0.016826533,0.0023443215,0.013846834,0.009640201,0.03102392,0.07081166,-0.025064522,-0.04171578,0.00025469848,-0.0045352764,0.010428945,-0.027343115,0.025415074,-0.03435417,0.023837587,0.0059593967,0.0055431155,-0.034879997,-0.04732462,0.031549748,-0.03680804,-0.0036150753,-0.033477787,0.0033083416,0.0010187939,-0.022610653,-0.0007011055,-0.038560804,-0.019280402,-0.0025524623,0.032601405,0.01787819,0.008851457,-0.02085789,0.0126199,-0.018053466,0.022961205,-0.0011392965,-0.048726834,0.03821025,0.03733387,0.00484201,0.0018404019,0.026992561,0.039437186,0.011042411,0.026817286,0.014547939,-0.013321005,0.004447638,0.025415074,-0.02559035,-0.059243415,-0.01551196,0.031725023,0.003439799,0.00920201,-0.00011023241,0.004031357,0.00775598,0.01647598,-0.05223236,0.005608844,0.008369447,0.045571856,0.041365225,-0.00014515076,0.015774874,-0.01647598,-0.004009447,0.030322812,-0.01113005,-0.0071863313,-0.020945527,-0.011392964,0.0015227136,0.02664201,0.019893868,0.01402211,0.0027277386,-0.040839396,0.016651256,0.017615275,-0.013408643,0.0319003,0.0043599997,-0.017965829,-0.036983315,-0.022785928,0.0111738695,0.01498613,-0.05083015,0.020594975,-0.004995377,0.033127233,-0.0034617085]}],"usage":{"prompt_tokens":6,"total_tokens":6,"completion_tokens":0,"completion_tokens_details":null},"credits":{"deducted":0,"tokens":6,"remaining":0}}'
|
|
73
|
+
recorded_at: Mon, 30 Nov 2026 10:58:08 GMT
|
|
74
|
+
recorded_with: VCR 6.4.1
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
|
|
5
|
+
RSpec.describe RubyLLM::Chat, :live do
|
|
6
|
+
include_context 'with configured RubyLLM'
|
|
7
|
+
|
|
8
|
+
let(:person_schema) do
|
|
9
|
+
{
|
|
10
|
+
type: 'object',
|
|
11
|
+
properties: {
|
|
12
|
+
name: { type: 'string' },
|
|
13
|
+
age: { type: 'integer' }
|
|
14
|
+
},
|
|
15
|
+
required: %w[name age],
|
|
16
|
+
additionalProperties: false
|
|
17
|
+
}
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
each_model(STRUCTURED_OUTPUT_MODELS) do |provider, model|
|
|
21
|
+
it "#{provider}/#{model} returns structured output" do
|
|
22
|
+
response = RubyLLM.chat(model: model, provider: provider, assume_model_exists: true)
|
|
23
|
+
.with_schema(person_schema)
|
|
24
|
+
.ask('Generate a person named John who is 30 years old')
|
|
25
|
+
|
|
26
|
+
expect(response.content).to be_a(String)
|
|
27
|
+
expect(response.parsed).to include('name' => 'John', 'age' => 30)
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
|
|
5
|
+
RSpec.describe RubyLLM::Chat, :live do
|
|
6
|
+
include_context 'with configured RubyLLM'
|
|
7
|
+
|
|
8
|
+
each_model(CHAT_MODELS) do |provider, model|
|
|
9
|
+
it "#{provider}/#{model} can have a basic conversation" do
|
|
10
|
+
response = RubyLLM.chat(model: model, provider: provider, assume_model_exists: true).ask("What's 2 + 2?")
|
|
11
|
+
|
|
12
|
+
expect(response.content).to include('4')
|
|
13
|
+
expect(response.role).to eq(:assistant)
|
|
14
|
+
expect(response.tokens.input.to_i).to be_positive
|
|
15
|
+
expect(response.tokens.output.to_i).to be_positive
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
it "#{provider}/#{model} returns the raw response" do
|
|
19
|
+
response = RubyLLM.chat(model: model, provider: provider, assume_model_exists: true)
|
|
20
|
+
.ask('What is the capital of France?')
|
|
21
|
+
|
|
22
|
+
expect(response.raw.status).to eq(200)
|
|
23
|
+
expect(response.raw.headers).not_to be_empty
|
|
24
|
+
expect(response.raw.body).not_to be_empty
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
it "#{provider}/#{model} can handle a multi-turn conversation" do
|
|
28
|
+
chat = RubyLLM.chat(model: model, provider: provider, assume_model_exists: true)
|
|
29
|
+
|
|
30
|
+
expect(chat.ask('Who created the programming language Ruby?').content).to match(/Matz|Matsumoto/i)
|
|
31
|
+
expect(chat.ask('What year was Ruby first released?').content).to include('199')
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
|
|
5
|
+
RSpec.describe RubyLLM::Chat, :live do
|
|
6
|
+
include_context 'with configured RubyLLM'
|
|
7
|
+
|
|
8
|
+
each_model(CHAT_MODELS) do |provider, model|
|
|
9
|
+
it "#{provider}/#{model} supports streaming responses" do
|
|
10
|
+
chunks = []
|
|
11
|
+
chat = RubyLLM.chat(model: model, provider: provider, assume_model_exists: true)
|
|
12
|
+
|
|
13
|
+
response = chat.ask('Count from 1 to 3') { |chunk| chunks << chunk }
|
|
14
|
+
|
|
15
|
+
expect(chunks).not_to be_empty
|
|
16
|
+
expect(chunks.first).to be_a(RubyLLM::Chunk)
|
|
17
|
+
expect(response.raw.status).to eq(200)
|
|
18
|
+
expect(response.raw.headers).not_to be_empty
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
|
|
5
|
+
RSpec.describe RubyLLM::Chat, :live do
|
|
6
|
+
include_context 'with configured RubyLLM'
|
|
7
|
+
|
|
8
|
+
let(:weather_tool) do
|
|
9
|
+
Class.new(RubyLLM::Tool) do
|
|
10
|
+
# Anonymous classes derive an empty tool name; give the model a real one.
|
|
11
|
+
def self.tool_name = 'weather'
|
|
12
|
+
|
|
13
|
+
description 'Gets current weather for a location'
|
|
14
|
+
parameter :latitude, description: 'Latitude'
|
|
15
|
+
parameter :longitude, description: 'Longitude'
|
|
16
|
+
|
|
17
|
+
def execute(latitude:, longitude:)
|
|
18
|
+
"Current weather at #{latitude}, #{longitude}: 15°C, Wind: 10 km/h"
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
each_model(TOOL_MODELS) do |provider, model|
|
|
24
|
+
it "#{provider}/#{model} can use tools" do
|
|
25
|
+
chat = RubyLLM.chat(model: model, provider: provider, assume_model_exists: true).with_tools(weather_tool)
|
|
26
|
+
response = chat.ask("What's the weather in Berlin? Use 52.5200, 13.4050.")
|
|
27
|
+
|
|
28
|
+
expect(response.content).to include('15')
|
|
29
|
+
expect(response.content).to include('10')
|
|
30
|
+
expect(chat.messages.any?(&:tool_call?)).to be(true)
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|