Skip to content

Commit 6c3647e

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.566.1
1 parent cf8ba67 commit 6c3647e

File tree

868 files changed

+35735
-2693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

868 files changed

+35735
-2693
lines changed

.speakeasy/gen.lock

Lines changed: 1115 additions & 83 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.565.0
1+
speakeasyVersion: 1.566.1
22
sources:
33
orq-ai-sdk-prerelease-python:
44
sourceNamespace: orq-ai-sdk-prerelease-python
@@ -10,11 +10,11 @@ sources:
1010
- "2.0"
1111
orq-ai-sdk-python:
1212
sourceNamespace: orq-ai-sdk-python
13-
sourceRevisionDigest: sha256:42b8c5b75a881e38cadee5c0f89eb6cb2f43ff6e3e8c815cf5cb43b6c9d31e63
14-
sourceBlobDigest: sha256:e478e57af1fb2fae4b10da86b18cdbb437b025a7e3e182a8a588fd855e81144f
13+
sourceRevisionDigest: sha256:72d99d98f3fe5d1dbb0b9091bdfde272b03b08634d6b9888528c18bfc52a9498
14+
sourceBlobDigest: sha256:11a4103671b7a1b07aff6e6c1f0b22f7dff9b66ae748d9db3ad2ebe7e7f0c8a3
1515
tags:
1616
- latest
17-
- speakeasy-sdk-regen-1750169165
17+
- speakeasy-sdk-regen-1750275652
1818
- "2.0"
1919
targets:
2020
orq-ai-sdk-prerelease-python:
@@ -27,10 +27,10 @@ targets:
2727
orq-ai-sdk-python:
2828
source: orq-ai-sdk-python
2929
sourceNamespace: orq-ai-sdk-python
30-
sourceRevisionDigest: sha256:42b8c5b75a881e38cadee5c0f89eb6cb2f43ff6e3e8c815cf5cb43b6c9d31e63
31-
sourceBlobDigest: sha256:e478e57af1fb2fae4b10da86b18cdbb437b025a7e3e182a8a588fd855e81144f
30+
sourceRevisionDigest: sha256:72d99d98f3fe5d1dbb0b9091bdfde272b03b08634d6b9888528c18bfc52a9498
31+
sourceBlobDigest: sha256:11a4103671b7a1b07aff6e6c1f0b22f7dff9b66ae748d9db3ad2ebe7e7f0c8a3
3232
codeSamplesNamespace: orq-ai-sdk-python-code-samples
33-
codeSamplesRevisionDigest: sha256:090e59f9102f8e896fe90d0abc3c83a7fd95f0b0f51650d699ee1016c1f2d064
33+
codeSamplesRevisionDigest: sha256:7292bc044ba0cb93fcf8d95b4158dd7a495e169092d876eaa637493a1ad83325
3434
workflow:
3535
workflowVersion: 1.0.0
3636
speakeasyVersion: latest

README.md

Lines changed: 157 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,23 @@ with Orq(
123123
api_key=os.getenv("ORQ_API_KEY", ""),
124124
) as orq:
125125

126-
res = orq.contacts.create(external_id="<id>")
126+
res = orq.contacts.create(request={
127+
"external_id": "user_12345",
128+
"display_name": "Jane Smith",
129+
"email": "jane.smith@example.com",
130+
"avatar_url": "https://example.com/avatars/jane-smith.jpg",
131+
"tags": [
132+
"premium",
133+
"beta-user",
134+
"enterprise",
135+
],
136+
"metadata": {
137+
"department": "Engineering",
138+
"role": "Senior Developer",
139+
"subscription_tier": "premium",
140+
"last_login": "2024-01-15T10:30:00Z",
141+
},
142+
})
127143

128144
assert res is not None
129145

@@ -146,7 +162,23 @@ async def main():
146162
api_key=os.getenv("ORQ_API_KEY", ""),
147163
) as orq:
148164

149-
res = await orq.contacts.create_async(external_id="<id>")
165+
res = await orq.contacts.create_async(request={
166+
"external_id": "user_12345",
167+
"display_name": "Jane Smith",
168+
"email": "jane.smith@example.com",
169+
"avatar_url": "https://example.com/avatars/jane-smith.jpg",
170+
"tags": [
171+
"premium",
172+
"beta-user",
173+
"enterprise",
174+
],
175+
"metadata": {
176+
"department": "Engineering",
177+
"role": "Senior Developer",
178+
"subscription_tier": "premium",
179+
"last_login": "2024-01-15T10:30:00Z",
180+
},
181+
})
150182

151183
assert res is not None
152184

@@ -178,7 +210,23 @@ with Orq(
178210
api_key=os.getenv("ORQ_API_KEY", ""),
179211
) as orq:
180212

181-
res = orq.contacts.create(external_id="<id>")
213+
res = orq.contacts.create(request={
214+
"external_id": "user_12345",
215+
"display_name": "Jane Smith",
216+
"email": "jane.smith@example.com",
217+
"avatar_url": "https://example.com/avatars/jane-smith.jpg",
218+
"tags": [
219+
"premium",
220+
"beta-user",
221+
"enterprise",
222+
],
223+
"metadata": {
224+
"department": "Engineering",
225+
"role": "Senior Developer",
226+
"subscription_tier": "premium",
227+
"last_login": "2024-01-15T10:30:00Z",
228+
},
229+
})
182230

183231
assert res is not None
184232

@@ -196,7 +244,11 @@ with Orq(
196244

197245
### [contacts](docs/sdks/contacts/README.md)
198246

199-
* [create](docs/sdks/contacts/README.md#create) - Update user information
247+
* [create](docs/sdks/contacts/README.md#create) - Create a contact
248+
* [list](docs/sdks/contacts/README.md#list) - List contacts
249+
* [retrieve](docs/sdks/contacts/README.md#retrieve) - Retrieve a contact
250+
* [update](docs/sdks/contacts/README.md#update) - Update a contact
251+
* [delete](docs/sdks/contacts/README.md#delete) - Delete a contact
200252

201253
### [datasets](docs/sdks/datasets/README.md)
202254

@@ -211,7 +263,6 @@ with Orq(
211263
* [retrieve_datapoint](docs/sdks/datasets/README.md#retrieve_datapoint) - Retrieve a datapoint
212264
* [update_datapoint](docs/sdks/datasets/README.md#update_datapoint) - Update a datapoint
213265
* [delete_datapoint](docs/sdks/datasets/README.md#delete_datapoint) - Delete a datapoint
214-
* [create_datapoints](docs/sdks/datasets/README.md#create_datapoints) - Create multiple datapoints
215266
* [clear](docs/sdks/datasets/README.md#clear) - Delete all datapoints
216267

217268
### [deployments](docs/sdks/deploymentssdk/README.md)
@@ -226,6 +277,48 @@ with Orq(
226277

227278
* [create](docs/sdks/metrics/README.md#create) - Add metrics
228279

280+
### [evals](docs/sdks/evals/README.md)
281+
282+
* [all](docs/sdks/evals/README.md#all) - Get all Evaluators
283+
* [create](docs/sdks/evals/README.md#create) - Create an Evaluator
284+
* [update](docs/sdks/evals/README.md#update) - Update an Evaluator
285+
* [delete](docs/sdks/evals/README.md#delete) - Delete an Evaluator
286+
* [bert_score](docs/sdks/evals/README.md#bert_score) - Run BertScore Evaluator
287+
* [bleu_score](docs/sdks/evals/README.md#bleu_score) - Run BLEU Score Evaluator
288+
* [contains_all](docs/sdks/evals/README.md#contains_all) - Run Contains All Evaluator
289+
* [contains_any](docs/sdks/evals/README.md#contains_any) - Run Contains Any Evaluator
290+
* [contains_email](docs/sdks/evals/README.md#contains_email) - Run Contains Email Evaluator
291+
* [contains_none](docs/sdks/evals/README.md#contains_none) - Run Contains None Evaluator
292+
* [contains_url](docs/sdks/evals/README.md#contains_url) - Run Contains URL Evaluator
293+
* [contains_valid_link](docs/sdks/evals/README.md#contains_valid_link) - Run Contains Valid Link Evaluator
294+
* [contains](docs/sdks/evals/README.md#contains) - Run Contains Evaluator
295+
* [ends_with](docs/sdks/evals/README.md#ends_with) - Run Ends With Evaluator
296+
* [exact_match](docs/sdks/evals/README.md#exact_match) - Run Exact Match Evaluator
297+
* [length_between](docs/sdks/evals/README.md#length_between) - Run Length Between Evaluator
298+
* [length_greater_than](docs/sdks/evals/README.md#length_greater_than) - Run Length Greater Than Evaluator
299+
* [length_less_than](docs/sdks/evals/README.md#length_less_than) - Run Length Less Than Evaluator
300+
* [valid_json](docs/sdks/evals/README.md#valid_json) - Run JSON Validation Evaluator
301+
* [age_appropriate](docs/sdks/evals/README.md#age_appropriate) - Run Age Appropriate Evaluator
302+
* [bot_detection](docs/sdks/evals/README.md#bot_detection) - Run Bot Detection Evaluator
303+
* [fact_checking_knowledge_base](docs/sdks/evals/README.md#fact_checking_knowledge_base) - Run Fact Checking Knowledge Base Evaluator
304+
* [grammar](docs/sdks/evals/README.md#grammar) - Run Grammar Evaluator
305+
* [localization](docs/sdks/evals/README.md#localization) - Run Localization Evaluator
306+
* [pii](docs/sdks/evals/README.md#pii) - Run PII Evaluator
307+
* [sentiment_classification](docs/sdks/evals/README.md#sentiment_classification) - Run Sentiment Classification Evaluator
308+
* [summarization](docs/sdks/evals/README.md#summarization) - Run Summarization Evaluator
309+
* [tone_of_voice](docs/sdks/evals/README.md#tone_of_voice) - Run Tone of Voice Evaluator
310+
* [translation](docs/sdks/evals/README.md#translation) - Run Translation Evaluator
311+
* [ragas_coherence](docs/sdks/evals/README.md#ragas_coherence) - Run Coherence Evaluator
312+
* [ragas_conciseness](docs/sdks/evals/README.md#ragas_conciseness) - Run Conciseness Evaluator
313+
* [ragas_context_precision](docs/sdks/evals/README.md#ragas_context_precision) - Run Context Precision Evaluator
314+
* [ragas_correctness](docs/sdks/evals/README.md#ragas_correctness) - Run Correctness Evaluator
315+
* [ragas_faithfulness](docs/sdks/evals/README.md#ragas_faithfulness) - Run Faithfulness Evaluator
316+
* [ragas_harmfulness](docs/sdks/evals/README.md#ragas_harmfulness) - Run Harmfulness Evaluator
317+
* [ragas_maliciousness](docs/sdks/evals/README.md#ragas_maliciousness) - Run Maliciousness Evaluator
318+
* [ragas_response_relevancy](docs/sdks/evals/README.md#ragas_response_relevancy) - Run Response Relevancy Evaluator
319+
* [ragas_summarization](docs/sdks/evals/README.md#ragas_summarization) - Run Summarization Evaluator
320+
* [invoke](docs/sdks/evals/README.md#invoke) - Invoke a Custom Evaluator
321+
229322
### [feedback](docs/sdks/feedback/README.md)
230323

231324
* [create](docs/sdks/feedback/README.md#create) - Submit feedback
@@ -365,7 +458,23 @@ with Orq(
365458
api_key=os.getenv("ORQ_API_KEY", ""),
366459
) as orq:
367460

368-
res = orq.contacts.create(external_id="<id>",
461+
res = orq.contacts.create(request={
462+
"external_id": "user_12345",
463+
"display_name": "Jane Smith",
464+
"email": "jane.smith@example.com",
465+
"avatar_url": "https://example.com/avatars/jane-smith.jpg",
466+
"tags": [
467+
"premium",
468+
"beta-user",
469+
"enterprise",
470+
],
471+
"metadata": {
472+
"department": "Engineering",
473+
"role": "Senior Developer",
474+
"subscription_tier": "premium",
475+
"last_login": "2024-01-15T10:30:00Z",
476+
},
477+
},
369478
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
370479

371480
assert res is not None
@@ -387,7 +496,23 @@ with Orq(
387496
api_key=os.getenv("ORQ_API_KEY", ""),
388497
) as orq:
389498

390-
res = orq.contacts.create(external_id="<id>")
499+
res = orq.contacts.create(request={
500+
"external_id": "user_12345",
501+
"display_name": "Jane Smith",
502+
"email": "jane.smith@example.com",
503+
"avatar_url": "https://example.com/avatars/jane-smith.jpg",
504+
"tags": [
505+
"premium",
506+
"beta-user",
507+
"enterprise",
508+
],
509+
"metadata": {
510+
"department": "Engineering",
511+
"role": "Senior Developer",
512+
"subscription_tier": "premium",
513+
"last_login": "2024-01-15T10:30:00Z",
514+
},
515+
})
391516

392517
assert res is not None
393518

@@ -411,12 +536,12 @@ By default, an API error will raise a models.APIError exception, which has the f
411536
| `.raw_response` | *httpx.Response* | The raw HTTP response |
412537
| `.body` | *str* | The response content |
413538

414-
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `list_async` method may raise the following exceptions:
539+
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `retrieve_async` method may raise the following exceptions:
415540

416-
| Error Type | Status Code | Content Type |
417-
| ------------------- | ----------- | ---------------- |
418-
| models.HonoAPIError | 500 | application/json |
419-
| models.APIError | 4XX, 5XX | \*/\* |
541+
| Error Type | Status Code | Content Type |
542+
| ------------------------------------------ | ----------- | ---------------- |
543+
| models.RetrieveContactContactsResponseBody | 404 | application/json |
544+
| models.APIError | 4XX, 5XX | \*/\* |
420545

421546
### Example
422547

@@ -431,15 +556,15 @@ with Orq(
431556
res = None
432557
try:
433558

434-
res = orq.deployments.list(limit=10)
559+
res = orq.contacts.retrieve(id="<id>")
435560

436561
assert res is not None
437562

438563
# Handle response
439564
print(res)
440565

441-
except models.HonoAPIError as e:
442-
# handle e.data: models.HonoAPIErrorData
566+
except models.RetrieveContactContactsResponseBody as e:
567+
# handle e.data: models.RetrieveContactContactsResponseBodyData
443568
raise(e)
444569
except models.APIError as e:
445570
# handle exception
@@ -463,7 +588,23 @@ with Orq(
463588
api_key=os.getenv("ORQ_API_KEY", ""),
464589
) as orq:
465590

466-
res = orq.contacts.create(external_id="<id>")
591+
res = orq.contacts.create(request={
592+
"external_id": "user_12345",
593+
"display_name": "Jane Smith",
594+
"email": "jane.smith@example.com",
595+
"avatar_url": "https://example.com/avatars/jane-smith.jpg",
596+
"tags": [
597+
"premium",
598+
"beta-user",
599+
"enterprise",
600+
],
601+
"metadata": {
602+
"department": "Engineering",
603+
"role": "Senior Developer",
604+
"subscription_tier": "premium",
605+
"last_login": "2024-01-15T10:30:00Z",
606+
},
607+
})
467608

468609
assert res is not None
469610

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,4 +718,14 @@ Based on:
718718
### Generated
719719
- [python v3.6.17] .
720720
### Releases
721-
- [PyPI v3.6.17] https://pypi.org/project/orq-ai-sdk/3.6.17 - .
721+
- [PyPI v3.6.17] https://pypi.org/project/orq-ai-sdk/3.6.17 - .
722+
723+
## 2025-06-18 19:40:28
724+
### Changes
725+
Based on:
726+
- OpenAPI Doc
727+
- Speakeasy CLI 1.566.1 (2.630.9) https://github.com/speakeasy-api/speakeasy
728+
### Generated
729+
- [python v3.8.0] .
730+
### Releases
731+
- [PyPI v3.8.0] https://pypi.org/project/orq-ai-sdk/3.8.0 - .

USAGE.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,23 @@ with Orq(
99
api_key=os.getenv("ORQ_API_KEY", ""),
1010
) as orq:
1111

12-
res = orq.contacts.create(external_id="<id>")
12+
res = orq.contacts.create(request={
13+
"external_id": "user_12345",
14+
"display_name": "Jane Smith",
15+
"email": "jane.smith@example.com",
16+
"avatar_url": "https://example.com/avatars/jane-smith.jpg",
17+
"tags": [
18+
"premium",
19+
"beta-user",
20+
"enterprise",
21+
],
22+
"metadata": {
23+
"department": "Engineering",
24+
"role": "Senior Developer",
25+
"subscription_tier": "premium",
26+
"last_login": "2024-01-15T10:30:00Z",
27+
},
28+
})
1329

1430
assert res is not None
1531

@@ -32,7 +48,23 @@ async def main():
3248
api_key=os.getenv("ORQ_API_KEY", ""),
3349
) as orq:
3450

35-
res = await orq.contacts.create_async(external_id="<id>")
51+
res = await orq.contacts.create_async(request={
52+
"external_id": "user_12345",
53+
"display_name": "Jane Smith",
54+
"email": "jane.smith@example.com",
55+
"avatar_url": "https://example.com/avatars/jane-smith.jpg",
56+
"tags": [
57+
"premium",
58+
"beta-user",
59+
"enterprise",
60+
],
61+
"metadata": {
62+
"department": "Engineering",
63+
"role": "Senior Developer",
64+
"subscription_tier": "premium",
65+
"last_login": "2024-01-15T10:30:00Z",
66+
},
67+
})
3668

3769
assert res is not None
3870

docs/models/bertscore.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# BERTScore
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `type` | [models.InvokeEvalResponseBodyEvalsResponse200ApplicationJSON6Type](../models/invokeevalresponsebodyevalsresponse200applicationjson6type.md) | :heavy_check_mark: | N/A |
9+
| `value` | [models.InvokeEvalResponseBodyEvalsValue](../models/invokeevalresponsebodyevalsvalue.md) | :heavy_check_mark: | N/A |

docs/models/boolean.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Boolean
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
8+
| `enabled` | *bool* | :heavy_check_mark: | N/A |
9+
| `type` | [models.GuardrailConfigType](../models/guardrailconfigtype.md) | :heavy_check_mark: | N/A |
10+
| `value` | *bool* | :heavy_check_mark: | N/A |

docs/models/bulkcreatedatapoints2datasetsresponse200type.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)