Skip to content

Commit 2ac1176

Browse files
feat(api): update via SDK Studio (#323)
1 parent 788fb20 commit 2ac1176

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ data_stream_response = client.inference_pipelines.data.stream(
4343
},
4444
rows=[
4545
{
46-
"user_query": "what's the meaning of life?",
46+
"user_query": "what is the meaning of life?",
4747
"output": "42",
4848
"tokens": 7,
4949
"cost": 0.02,
@@ -86,7 +86,7 @@ async def main() -> None:
8686
},
8787
rows=[
8888
{
89-
"user_query": "what's the meaning of life?",
89+
"user_query": "what is the meaning of life?",
9090
"output": "42",
9191
"tokens": 7,
9292
"cost": 0.02,
@@ -138,7 +138,7 @@ try:
138138
},
139139
rows=[
140140
{
141-
"user_query": "what's the meaning of life?",
141+
"user_query": "what is the meaning of life?",
142142
"output": "42",
143143
"tokens": 7,
144144
"cost": 0.02,
@@ -199,7 +199,7 @@ client.with_options(max_retries=5).inference_pipelines.data.stream(
199199
},
200200
rows=[
201201
{
202-
"user_query": "what's the meaning of life?",
202+
"user_query": "what is the meaning of life?",
203203
"output": "42",
204204
"tokens": 7,
205205
"cost": 0.02,
@@ -240,7 +240,7 @@ client.with_options(timeout=5.0).inference_pipelines.data.stream(
240240
},
241241
rows=[
242242
{
243-
"user_query": "what's the meaning of life?",
243+
"user_query": "what is the meaning of life?",
244244
"output": "42",
245245
"tokens": 7,
246246
"cost": 0.02,
@@ -296,7 +296,7 @@ response = client.inference_pipelines.data.with_raw_response.stream(
296296
"timestamp_column_name": "timestamp",
297297
},
298298
rows=[{
299-
"user_query": "what's the meaning of life?",
299+
"user_query": "what is the meaning of life?",
300300
"output": "42",
301301
"tokens": 7,
302302
"cost": 0.02,
@@ -331,7 +331,7 @@ with client.inference_pipelines.data.with_streaming_response.stream(
331331
},
332332
rows=[
333333
{
334-
"user_query": "what's the meaning of life?",
334+
"user_query": "what is the meaning of life?",
335335
"output": "42",
336336
"tokens": 7,
337337
"cost": 0.02,

tests/test_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) -> No
734734
},
735735
rows=[
736736
{
737-
"user_query": "what's the meaning of life?",
737+
"user_query": "what is the meaning of life?",
738738
"output": "42",
739739
"tokens": 7,
740740
"cost": 0.02,
@@ -771,7 +771,7 @@ def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) -> Non
771771
},
772772
rows=[
773773
{
774-
"user_query": "what's the meaning of life?",
774+
"user_query": "what is the meaning of life?",
775775
"output": "42",
776776
"tokens": 7,
777777
"cost": 0.02,
@@ -1520,7 +1520,7 @@ async def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter)
15201520
},
15211521
rows=[
15221522
{
1523-
"user_query": "what's the meaning of life?",
1523+
"user_query": "what is the meaning of life?",
15241524
"output": "42",
15251525
"tokens": 7,
15261526
"cost": 0.02,
@@ -1557,7 +1557,7 @@ async def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter)
15571557
},
15581558
rows=[
15591559
{
1560-
"user_query": "what's the meaning of life?",
1560+
"user_query": "what is the meaning of life?",
15611561
"output": "42",
15621562
"tokens": 7,
15631563
"cost": 0.02,

0 commit comments

Comments
 (0)