| 45 | set_option(options, option_key, json_option_string(*value)); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | struct ArtifactKindName { |
| 50 | const char * name; |
| 51 | engine::runtime::ArtifactKind kind; |
| 52 | }; |
| 53 | |
| 54 | // The names the server writes a result artifact's kind with. |
| 55 | constexpr ArtifactKindName kArtifactKinds[] = { |
| 56 | {"speaker_embedding", engine::runtime::ArtifactKind::SpeakerEmbedding}, |
| 57 | {"style_embedding", engine::runtime::ArtifactKind::StyleEmbedding}, |
| 58 | {"prompt_embedding", engine::runtime::ArtifactKind::PromptEmbedding}, |
| 59 | {"acoustic_tokens", engine::runtime::ArtifactKind::AcousticTokens}, |
| 60 | {"midi", engine::runtime::ArtifactKind::Midi}, |
| 61 | {"transcript_alignment", engine::runtime::ArtifactKind::TranscriptAlignment}, |
no test coverage detected