init(id:assetIDs:segments:)
Creates a response that contains the segments you provide.
Declaration
init(id: String = UUID().uuidString, assetIDs: [String], segments: [Transcript.Segment])Parameters
- id:
A unique identifier for the response.
- assetIDs:
A list of identifiers for the assets used to generate the response.
- segments:
The segments of the response, in order.