MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / json_options_map

Function json_options_map

app/cli/request.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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},
62 {"diarization_state", engine::runtime::ArtifactKind::DiarizationState},
63 {"vad_state", engine::runtime::ArtifactKind::VadState},
64 {"custom", engine::runtime::ArtifactKind::Custom},
65};
66
67constexpr bool artifact_kinds_in_enum_order() {
68 for (size_t index = 0; index < std::size(kArtifactKinds); ++index) {
69 if (kArtifactKinds[index].kind != static_cast<engine::runtime::ArtifactKind>(index)) {
70 return false;
71 }
72 }

Callers 3

build_request_from_jsonFunction · 0.85
options_from_objectFunction · 0.85
options_from_objectFunction · 0.85

Calls 2

json_option_stringFunction · 0.85
is_nullMethod · 0.80

Tested by

no test coverage detected