Close Menu
StreamLineCrypto.comStreamLineCrypto.com
  • Home
  • Crypto News
  • Bitcoin
  • Altcoins
  • NFT
  • Defi
  • Blockchain
  • Metaverse
  • Regulations
  • Trading
What's Hot

Bitcoin Price Targets $75K Break, Is a New Rally Incoming?

April 16, 2026

Bitcoin And Ethereum Bounce Meet Rising Open Interest On Cryptocurrency Exchanges

April 16, 2026

Anthropic Unveils Claude Code Session Tools for 1M Token Context

April 16, 2026
Facebook X (Twitter) Instagram
Thursday, April 16 2026
  • Contact Us
  • Privacy Policy
  • Cookie Privacy Policy
  • Terms of Use
  • DMCA
Facebook X (Twitter) Instagram
StreamLineCrypto.comStreamLineCrypto.com
  • Home
  • Crypto News
  • Bitcoin
  • Altcoins
  • NFT
  • Defi
  • Blockchain
  • Metaverse
  • Regulations
  • Trading
StreamLineCrypto.comStreamLineCrypto.com

AssemblyAI Launches Ruby SDK for Enhanced Audio Processing

August 13, 2024Updated:August 13, 2024No Comments2 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
AssemblyAI Launches Ruby SDK for Enhanced Audio Processing
Share
Facebook Twitter LinkedIn Pinterest Email
ad


Ted Hisokawa
Aug 13, 2024 04:37

AssemblyAI has launched a Ruby SDK, enabling customers to transcribe audio, use audio intelligence fashions, and apply LLMs to audio knowledge.





AssemblyAI has unveiled its newest providing, the Ruby SDK, geared toward simplifying the method of using superior speech AI fashions. In line with AssemblyAI, this new SDK permits builders to transcribe audio, leverage audio intelligence fashions, and apply Giant Language Fashions (LLMs) to their audio knowledge utilizing LeMUR.

Transcribing Audio Information

The Ruby SDK offers an environment friendly option to transcribe audio recordsdata. Customers can transcribe each distant and native audio recordsdata by following easy code snippets. As an illustration, to transcribe a distant audio file, customers can use the next code:

require 'assemblyai'

shopper = AssemblyAI::Shopper.new(api_key: 'YOUR_API_KEY')

transcript = shopper.transcripts.transcribe(
  audio_url: 'https://storage.googleapis.com/aai-docs-samples/nbc.mp3'
)

abort transcript.error if transcript.standing == AssemblyAI::Transcripts::TranscriptStatus::ERROR

places transcript.textual content

Equally, native recordsdata will be transcribed by first importing the file after which processing it:

uploaded_file = shopper.recordsdata.add(file: '/path/to/your/file')
transcript = shopper.transcripts.transcribe(
  audio_url: uploaded_file.upload_url
)

Detailed directions for transcribing audio recordsdata can be found within the AssemblyAI documentation.

Making use of LLMs to Audio Information with LeMUR

The Ruby SDK additionally helps the appliance of LLMs to audio knowledge utilizing LeMUR. Customers can construct functions that summarize transcripts or carry out different duties:

response = shopper.lemur.activity(
  transcript_ids: [transcript.id],
  immediate: 'Summarize this transcript.'
)

places response.response

Extra data on utilizing LLMs with audio knowledge will be discovered within the AssemblyAI documentation.

Using Audio Intelligence Fashions

One other key function of the Ruby SDK is its functionality to make use of audio intelligence fashions. These fashions can analyze audio recordsdata for numerous attributes, similar to sentiment evaluation:

transcript = shopper.transcripts.transcribe(
  audio_url: 'https://storage.googleapis.com/aai-docs-samples/nbc.mp3',
  sentiment_analysis: true
)

abort transcript.error if transcript.standing == AssemblyAI::Transcripts::TranscriptStatus::ERROR

transcript.sentiment_analysis_results.every do |consequence|
  places consequence.textual content
  places consequence.sentiment
  places consequence.confidence
  printf("%d - %dn", begin: consequence.begin, finish: consequence.end_)
finish

Further particulars on audio intelligence fashions can be found within the AssemblyAI documentation.

Getting Began with the Ruby SDK

To start utilizing the Ruby SDK, builders can consult with the set up directions and the README of the Ruby SDK GitHub repository. For any points or suggestions, customers are inspired to file a problem on the GitHub repository.

Picture supply: Shutterstock


ad
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Related Posts

Bitcoin Price Targets $75K Break, Is a New Rally Incoming?

April 16, 2026

Anthropic Unveils Claude Code Session Tools for 1M Token Context

April 16, 2026

Solana Policy Institute-backed PAC spends millions to jam Sherrod Brown’s Senate run

April 15, 2026

INJ Futures Launch on CFTC-Regulated Bitnomial, ETF Clock Starts

April 15, 2026
Add A Comment
Leave A Reply Cancel Reply

ad
What's New Here!
Bitcoin Price Targets $75K Break, Is a New Rally Incoming?
April 16, 2026
Bitcoin And Ethereum Bounce Meet Rising Open Interest On Cryptocurrency Exchanges
April 16, 2026
Anthropic Unveils Claude Code Session Tools for 1M Token Context
April 16, 2026
Chainlink price breaks above compressed SMA ribbon
April 15, 2026
Pi Network price at support as MACD momentum exhausts
April 15, 2026
Facebook X (Twitter) Instagram Pinterest
  • Contact Us
  • Privacy Policy
  • Cookie Privacy Policy
  • Terms of Use
  • DMCA
© 2026 StreamlineCrypto.com - All Rights Reserved!

Type above and press Enter to search. Press Esc to cancel.