Skip to content

Commit 97b189d

Browse files
SDK regeneration
1 parent 8ec9978 commit 97b189d

File tree

343 files changed

+10683
-224
lines changed

Some content is hidden

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

343 files changed

+10683
-224
lines changed

.fern/metadata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"cliVersion": "3.1.0",
3+
"generatorName": "fernapi/fern-python-sdk",
4+
"generatorVersion": "4.42.0",
5+
"generatorConfig": {
6+
"client": {
7+
"class_name": "BaseClient",
8+
"filename": "base_client.py",
9+
"exported_class_name": "DeepgramClient",
10+
"exported_filename": "client.py"
11+
},
12+
"use_typeddict_requests": true,
13+
"should_generate_websocket_clients": true
14+
}
15+
}

poetry.lock

Lines changed: 41 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference.md

Lines changed: 157 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,41 @@ client = DeepgramClient(
163163
api_key="YOUR_API_KEY",
164164
)
165165
client.listen.v1.media.transcribe_url(
166+
callback="callback",
167+
callback_method="POST",
168+
extra="extra",
169+
sentiment=True,
170+
summarize="v2",
171+
tag="tag",
172+
topics=True,
173+
custom_topic="custom_topic",
174+
custom_topic_mode="extended",
175+
intents=True,
176+
custom_intent="custom_intent",
177+
custom_intent_mode="extended",
178+
detect_entities=True,
179+
detect_language=True,
180+
diarize=True,
181+
dictation=True,
182+
encoding="linear16",
183+
filler_words=True,
184+
keywords="keywords",
185+
language="language",
186+
measurements=True,
187+
model="nova-3",
188+
multichannel=True,
189+
numerals=True,
190+
paragraphs=True,
191+
profanity_filter=True,
192+
punctuate=True,
193+
redact="redact",
194+
replace="replace",
195+
search="search",
196+
smart_format=True,
197+
utterances=True,
198+
utt_split=1.1,
199+
version="latest",
200+
mip_opt_out=True,
166201
url="https://dpgr.am/spacewalk.wav",
167202
)
168203

@@ -877,7 +912,9 @@ from deepgram import DeepgramClient
877912
client = DeepgramClient(
878913
api_key="YOUR_API_KEY",
879914
)
880-
client.manage.v1.models.list()
915+
client.manage.v1.models.list(
916+
include_outdated=True,
917+
)
881918

882919
```
883920
</dd>
@@ -1078,6 +1115,8 @@ client = DeepgramClient(
10781115
)
10791116
client.manage.v1.projects.get(
10801117
project_id="123456-7890-1234-5678-901234",
1118+
limit=1.1,
1119+
page=1.1,
10811120
)
10821121

10831122
```
@@ -1383,6 +1422,7 @@ client = DeepgramClient(
13831422
)
13841423
client.manage.v1.projects.keys.list(
13851424
project_id="123456-7890-1234-5678-901234",
1425+
status="active",
13861426
)
13871427

13881428
```
@@ -1849,6 +1889,7 @@ client = DeepgramClient(
18491889
)
18501890
client.manage.v1.projects.models.list(
18511891
project_id="123456-7890-1234-5678-901234",
1892+
include_outdated=True,
18521893
)
18531894

18541895
```
@@ -2000,15 +2041,29 @@ Generates a list of requests for a specific project
20002041
<dd>
20012042

20022043
```python
2044+
import datetime
2045+
20032046
from deepgram import DeepgramClient
20042047

20052048
client = DeepgramClient(
20062049
api_key="YOUR_API_KEY",
20072050
)
20082051
client.manage.v1.projects.requests.list(
20092052
project_id="123456-7890-1234-5678-901234",
2053+
start=datetime.datetime.fromisoformat(
2054+
"2024-01-15 09:30:00+00:00",
2055+
),
2056+
end=datetime.datetime.fromisoformat(
2057+
"2024-01-15 09:30:00+00:00",
2058+
),
2059+
limit=1.1,
2060+
page=1.1,
20102061
accessor="12345678-1234-1234-1234-123456789012",
20112062
request_id="12345678-1234-1234-1234-123456789012",
2063+
deployment="hosted",
2064+
endpoint="listen",
2065+
method="sync",
2066+
status="succeeded",
20122067
)
20132068

20142069
```
@@ -2239,10 +2294,50 @@ client = DeepgramClient(
22392294
)
22402295
client.manage.v1.projects.usage.get(
22412296
project_id="123456-7890-1234-5678-901234",
2297+
start="start",
2298+
end="end",
22422299
accessor="12345678-1234-1234-1234-123456789012",
2300+
alternatives=True,
2301+
callback_method=True,
2302+
callback=True,
2303+
channels=True,
2304+
custom_intent_mode=True,
2305+
custom_intent=True,
2306+
custom_topic_mode=True,
2307+
custom_topic=True,
2308+
deployment="hosted",
2309+
detect_entities=True,
2310+
detect_language=True,
2311+
diarize=True,
2312+
dictation=True,
2313+
encoding=True,
2314+
endpoint="listen",
2315+
extra=True,
2316+
filler_words=True,
2317+
intents=True,
2318+
keyterm=True,
2319+
keywords=True,
2320+
language=True,
2321+
measurements=True,
2322+
method="sync",
22432323
model="6f548761-c9c0-429a-9315-11a1d28499c8",
2324+
multichannel=True,
2325+
numerals=True,
2326+
paragraphs=True,
2327+
profanity_filter=True,
2328+
punctuate=True,
2329+
redact=True,
2330+
replace=True,
22442331
sample_rate=True,
2332+
search=True,
2333+
sentiment=True,
2334+
smart_format=True,
2335+
summarize=True,
22452336
tag="tag1",
2337+
topics=True,
2338+
utt_split=True,
2339+
utterances=True,
2340+
version=True,
22462341
)
22472342

22482343
```
@@ -2816,7 +2911,10 @@ client = DeepgramClient(
28162911
)
28172912
client.manage.v1.projects.billing.breakdown.list(
28182913
project_id="123456-7890-1234-5678-901234",
2914+
start="start",
2915+
end="end",
28192916
accessor="12345678-1234-1234-1234-123456789012",
2917+
deployment="hosted",
28202918
tag="tag1",
28212919
line_item="streaming::nova-3",
28222920
)
@@ -2951,6 +3049,8 @@ client = DeepgramClient(
29513049
)
29523050
client.manage.v1.projects.billing.fields.list(
29533051
project_id="123456-7890-1234-5678-901234",
3052+
start="start",
3053+
end="end",
29543054
)
29553055

29563056
```
@@ -3038,6 +3138,7 @@ client = DeepgramClient(
30383138
)
30393139
client.manage.v1.projects.billing.purchases.list(
30403140
project_id="123456-7890-1234-5678-901234",
3141+
limit=1.1,
30413142
)
30423143

30433144
```
@@ -3523,10 +3624,51 @@ client = DeepgramClient(
35233624
)
35243625
client.manage.v1.projects.usage.breakdown.get(
35253626
project_id="123456-7890-1234-5678-901234",
3627+
start="start",
3628+
end="end",
3629+
grouping="accessor",
35263630
accessor="12345678-1234-1234-1234-123456789012",
3631+
alternatives=True,
3632+
callback_method=True,
3633+
callback=True,
3634+
channels=True,
3635+
custom_intent_mode=True,
3636+
custom_intent=True,
3637+
custom_topic_mode=True,
3638+
custom_topic=True,
3639+
deployment="hosted",
3640+
detect_entities=True,
3641+
detect_language=True,
3642+
diarize=True,
3643+
dictation=True,
3644+
encoding=True,
3645+
endpoint="listen",
3646+
extra=True,
3647+
filler_words=True,
3648+
intents=True,
3649+
keyterm=True,
3650+
keywords=True,
3651+
language=True,
3652+
measurements=True,
3653+
method="sync",
35273654
model="6f548761-c9c0-429a-9315-11a1d28499c8",
3655+
multichannel=True,
3656+
numerals=True,
3657+
paragraphs=True,
3658+
profanity_filter=True,
3659+
punctuate=True,
3660+
redact=True,
3661+
replace=True,
35283662
sample_rate=True,
3663+
search=True,
3664+
sentiment=True,
3665+
smart_format=True,
3666+
summarize=True,
35293667
tag="tag1",
3668+
topics=True,
3669+
utt_split=True,
3670+
utterances=True,
3671+
version=True,
35303672
)
35313673

35323674
```
@@ -3958,6 +4100,8 @@ client = DeepgramClient(
39584100
)
39594101
client.manage.v1.projects.usage.fields.list(
39604102
project_id="123456-7890-1234-5678-901234",
4103+
start="start",
4104+
end="end",
39614105
)
39624106

39634107
```
@@ -4044,6 +4188,18 @@ client = DeepgramClient(
40444188
api_key="YOUR_API_KEY",
40454189
)
40464190
client.read.v1.text.analyze(
4191+
callback="callback",
4192+
callback_method="POST",
4193+
sentiment=True,
4194+
summarize="v2",
4195+
tag="tag",
4196+
topics=True,
4197+
custom_topic="custom_topic",
4198+
custom_topic_mode="extended",
4199+
intents=True,
4200+
custom_intent="custom_intent",
4201+
custom_intent_mode="extended",
4202+
language="language",
40474203
request={"url": "url"},
40484204
)
40494205

0 commit comments

Comments
 (0)