assemblyai 1.0.0.pre.beta → 1.0.0.pre.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/assemblyai/lemur/client.rb +16 -16
  3. data/lib/assemblyai/lemur/types/lemur_base_params.rb +5 -5
  4. data/lib/assemblyai/lemur/types/lemur_base_params_context.rb +3 -29
  5. data/lib/assemblyai/lemur/types/lemur_model.rb +7 -7
  6. data/lib/assemblyai/lemur/types/lemur_question_context.rb +3 -29
  7. data/lib/assemblyai/realtime/types/audio_encoding.rb +5 -2
  8. data/lib/assemblyai/realtime/types/configure_end_utterance_silence_threshold.rb +48 -0
  9. data/lib/assemblyai/realtime/types/force_end_utterance.rb +48 -0
  10. data/lib/assemblyai/realtime/types/message_type.rb +6 -7
  11. data/lib/assemblyai/realtime/types/realtime_base_message.rb +6 -6
  12. data/lib/assemblyai/realtime/types/realtime_message.rb +6 -35
  13. data/lib/assemblyai/realtime/types/realtime_transcript.rb +3 -29
  14. data/lib/assemblyai/realtime/types/realtime_transcript_type.rb +4 -2
  15. data/lib/assemblyai/realtime/types/terminate_session.rb +5 -14
  16. data/lib/assemblyai/transcripts/client.rb +20 -20
  17. data/lib/assemblyai/transcripts/types/audio_intelligence_model_status.rb +5 -2
  18. data/lib/assemblyai/transcripts/types/content_safety_labels_result.rb +5 -5
  19. data/lib/assemblyai/transcripts/types/entity.rb +6 -11
  20. data/lib/assemblyai/transcripts/types/entity_type.rb +32 -32
  21. data/lib/assemblyai/transcripts/types/pii_policy.rb +29 -30
  22. data/lib/assemblyai/transcripts/types/redact_pii_audio_quality.rb +5 -2
  23. data/lib/assemblyai/transcripts/types/sentiment.rb +5 -2
  24. data/lib/assemblyai/transcripts/types/sentiment_analysis_result.rb +6 -6
  25. data/lib/assemblyai/transcripts/types/speech_model.rb +4 -1
  26. data/lib/assemblyai/transcripts/types/substitution_policy.rb +5 -2
  27. data/lib/assemblyai/transcripts/types/subtitle_format.rb +5 -2
  28. data/lib/assemblyai/transcripts/types/summary_model.rb +6 -2
  29. data/lib/assemblyai/transcripts/types/summary_type.rb +8 -8
  30. data/lib/assemblyai/transcripts/types/topic_detection_model_result.rb +5 -9
  31. data/lib/assemblyai/transcripts/types/transcript.rb +26 -29
  32. data/lib/assemblyai/transcripts/types/transcript_boost_param.rb +6 -2
  33. data/lib/assemblyai/transcripts/types/transcript_language_code.rb +24 -23
  34. data/lib/assemblyai/transcripts/types/transcript_list_item.rb +5 -5
  35. data/lib/assemblyai/transcripts/types/transcript_optional_params.rb +36 -39
  36. data/lib/assemblyai/transcripts/types/transcript_status.rb +7 -2
  37. data/lib/requests.rb +28 -2
  38. data/lib/types_export.rb +7 -5
  39. metadata +54 -14
metadata CHANGED
@@ -1,57 +1,95 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assemblyai
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta
4
+ version: 1.0.0.pre.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-09 00:00:00.000000000 Z
11
+ date: 2024-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-http-faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.12'
19
+ version: '0.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.0'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.12'
32
+ version: '1.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: faraday
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '1.10'
40
+ - - "<"
32
41
  - !ruby/object:Gem::Version
33
- version: '2.7'
42
+ version: '3.0'
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
- - - "~>"
47
+ - - ">="
39
48
  - !ruby/object:Gem::Version
40
- version: '2.7'
49
+ version: '1.10'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '3.0'
53
+ - !ruby/object:Gem::Dependency
54
+ name: faraday-net_http
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '1.0'
60
+ - - "<"
61
+ - !ruby/object:Gem::Version
62
+ version: '4.0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '1.0'
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '4.0'
41
73
  - !ruby/object:Gem::Dependency
42
74
  name: faraday-retry
43
75
  requirement: !ruby/object:Gem::Requirement
44
76
  requirements:
45
- - - "~>"
77
+ - - ">="
46
78
  - !ruby/object:Gem::Version
47
- version: '2.2'
79
+ version: '1.0'
80
+ - - "<"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
48
83
  type: :runtime
49
84
  prerelease: false
50
85
  version_requirements: !ruby/object:Gem::Requirement
51
86
  requirements:
52
- - - "~>"
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '1.0'
90
+ - - "<"
53
91
  - !ruby/object:Gem::Version
54
- version: '2.2'
92
+ version: '3.0'
55
93
  description: ''
56
94
  email: ''
57
95
  executables: []
@@ -77,7 +115,9 @@ files:
77
115
  - lib/assemblyai/realtime/client.rb
78
116
  - lib/assemblyai/realtime/types/audio_data.rb
79
117
  - lib/assemblyai/realtime/types/audio_encoding.rb
118
+ - lib/assemblyai/realtime/types/configure_end_utterance_silence_threshold.rb
80
119
  - lib/assemblyai/realtime/types/final_transcript.rb
120
+ - lib/assemblyai/realtime/types/force_end_utterance.rb
81
121
  - lib/assemblyai/realtime/types/message_type.rb
82
122
  - lib/assemblyai/realtime/types/partial_transcript.rb
83
123
  - lib/assemblyai/realtime/types/realtime_base_message.rb