TranscriptionSegment class
Transcription segment information (OpenAI specific)
Constructors
- 
          TranscriptionSegment({required int id, required int seek, required double start, required double end, required String text, required List<int> tokens, required double temperature, required double avgLogprob, required double compressionRatio, required double noSpeechProb})
- 
          
            const
- 
          TranscriptionSegment.fromJson(Map<String, dynamic> json)
- 
          
            factory
Properties
- avgLogprob → double
- 
  Average logprob of the segment
  final
- compressionRatio → double
- 
  Compression ratio of the segment
  final
- end → double
- 
  End time of the segment in seconds
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- id → int
- 
  Unique identifier of the segment
  final
- noSpeechProb → double
- 
  Probability of no speech in the segment
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- seek → int
- 
  Seek offset of the segment
  final
- start → double
- 
  Start time of the segment in seconds
  final
- temperature → double
- 
  Temperature parameter used for generating the segment
  final
- text → String
- 
  Text content of the segment
  final
- 
  tokens
  → List<int> 
- 
  Array of token IDs for the text content
  final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited