Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/assemblyai/lemur/types/lemur_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ class LemurModel
ANTHROPIC_CLAUDE3_HAIKU = "anthropic/claude-3-haiku"
ANTHROPIC_CLAUDE3_SONNET = "anthropic/claude-3-sonnet"
ANTHROPIC_CLAUDE2_1 = "anthropic/claude-2-1"
ANTHROPIC_CLAUDE2 = "anthropic/claude-2"
ANTHROPIC_CLAUDE2_0 = "anthropic/claude-2"
DEFAULT = "default"
ANTHROPIC_CLAUDE_INSTANT1_2 = "anthropic/claude-instant-1-2"
BASIC = "basic"
ASSEMBLYAI_MISTRAL7B = "assemblyai/mistral-7b"
end
end
Expand Down
16 changes: 10 additions & 6 deletions lib/assemblyai/transcripts/types/transcript.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ class Transcript
# recognition](https://www.assemblyai.com/docs/models/speech-recognition) for more
# information.
attr_reader :words
# @return [Array<AssemblyAI::Transcripts::TranscriptUtterance>] When dual_channel or speaker_labels is enabled, a list of turn-by-turn utterance
# @return [Array<AssemblyAI::Transcripts::TranscriptUtterance>] When multichannel or speaker_labels is enabled, a list of turn-by-turn utterance
# objects.
# See [Speaker
# diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for
# more information.
# diarization](https://www.assemblyai.com/docs/speech-to-text/speaker-diarization)
# and [Multichannel
# ssemblyai.com/docs/speech-to-text/speech-recognition#multichannel-transcription)
# for more information.
attr_reader :utterances
# @return [Float] The confidence score for the transcript, between 0.0 (low confidence) and 1.0
# (high confidence)
Expand Down Expand Up @@ -239,11 +241,13 @@ class Transcript
# See [Speech
# recognition](https://www.assemblyai.com/docs/models/speech-recognition) for more
# information.
# @param utterances [Array<AssemblyAI::Transcripts::TranscriptUtterance>] When dual_channel or speaker_labels is enabled, a list of turn-by-turn utterance
# @param utterances [Array<AssemblyAI::Transcripts::TranscriptUtterance>] When multichannel or speaker_labels is enabled, a list of turn-by-turn utterance
# objects.
# See [Speaker
# diarization](https://www.assemblyai.com/docs/models/speaker-diarization) for
# more information.
# diarization](https://www.assemblyai.com/docs/speech-to-text/speaker-diarization)
# and [Multichannel
# ssemblyai.com/docs/speech-to-text/speech-recognition#multichannel-transcription)
# for more information.
# @param confidence [Float] The confidence score for the transcript, between 0.0 (low confidence) and 1.0
# (high confidence)
# @param audio_duration [Integer] The duration of this transcript object's media file, in seconds
Expand Down