Class: Cloudflare::AI::Results::AutomaticSpeechRecognition
- Inherits:
-
Cloudflare::AI::Result
- Object
- Cloudflare::AI::Result
- Cloudflare::AI::Results::AutomaticSpeechRecognition
- Defined in:
- lib/cloudflare/ai/results/automatic_speech_recognition.rb
Instance Method Summary collapse
Instance Method Details
#text ⇒ Object
2 3 4 |
# File 'lib/cloudflare/ai/results/automatic_speech_recognition.rb', line 2 def text result&.dig(:text) # nil if no shape end |
#word_count ⇒ Object
6 7 8 |
# File 'lib/cloudflare/ai/results/automatic_speech_recognition.rb', line 6 def word_count result&.dig(:word_count) # nil if no shape end |
#words ⇒ Object
10 11 12 |
# File 'lib/cloudflare/ai/results/automatic_speech_recognition.rb', line 10 def words result&.dig(:words) # nil if no shape end |