File tree 3 files changed +10
-10
lines changed
src/cloudflare/types/workers
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 1254
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e162f6d2b8d992c37325f085f70201b88fce7c9fb8959d5fb9f92423f7de9b47 .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5e3cc17dacbf34ea6c55cfa520e9852ce21b11a0a722ad53edcc7e7fe4299a1e .yml
Original file line number Diff line number Diff line change 11
11
"TextClassification" ,
12
12
"TextToImage" ,
13
13
"TextEmbeddings" ,
14
- "AutomaticSpeechRecognition " ,
14
+ "SpeechRecognition " ,
15
15
"ImageClassification" ,
16
16
"ObjectDetection" ,
17
17
"TextGeneration" ,
@@ -57,7 +57,7 @@ class TextEmbeddings(TypedDict, total=False):
57
57
text : Required [Union [str , List [str ]]]
58
58
59
59
60
- class AutomaticSpeechRecognition (TypedDict , total = False ):
60
+ class SpeechRecognition (TypedDict , total = False ):
61
61
account_id : Required [str ]
62
62
63
63
audio : Required [Iterable [float ]]
@@ -142,7 +142,7 @@ class ImageToTextMessage(TypedDict, total=False):
142
142
TextClassification ,
143
143
TextToImage ,
144
144
TextEmbeddings ,
145
- AutomaticSpeechRecognition ,
145
+ SpeechRecognition ,
146
146
ImageClassification ,
147
147
ObjectDetection ,
148
148
TextGeneration ,
Original file line number Diff line number Diff line change 8
8
"AIRunResponse" ,
9
9
"TextClassification" ,
10
10
"TextEmbeddings" ,
11
- "AutomaticSpeechRecognition " ,
12
- "AutomaticSpeechRecognitionWord " ,
11
+ "SpeechRecognition " ,
12
+ "SpeechRecognitionWord " ,
13
13
"ImageClassification" ,
14
14
"ObjectDetection" ,
15
15
"ObjectDetectionBox" ,
@@ -33,22 +33,22 @@ class TextEmbeddings(BaseModel):
33
33
shape : Optional [List [float ]] = None
34
34
35
35
36
- class AutomaticSpeechRecognitionWord (BaseModel ):
36
+ class SpeechRecognitionWord (BaseModel ):
37
37
end : Optional [float ] = None
38
38
39
39
start : Optional [float ] = None
40
40
41
41
word : Optional [str ] = None
42
42
43
43
44
- class AutomaticSpeechRecognition (BaseModel ):
44
+ class SpeechRecognition (BaseModel ):
45
45
text : str
46
46
47
47
vtt : Optional [str ] = None
48
48
49
49
word_count : Optional [float ] = None
50
50
51
- words : Optional [List [AutomaticSpeechRecognitionWord ]] = None
51
+ words : Optional [List [SpeechRecognitionWord ]] = None
52
52
53
53
54
54
class ImageClassification (BaseModel ):
@@ -103,7 +103,7 @@ class ImageToText(BaseModel):
103
103
List [TextClassification ],
104
104
object ,
105
105
TextEmbeddings ,
106
- AutomaticSpeechRecognition ,
106
+ SpeechRecognition ,
107
107
List [ImageClassification ],
108
108
List [ObjectDetection ],
109
109
UnionMember6 ,
You can’t perform that action at this time.
0 commit comments