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

Function json_option_string

app/cli/request.cpp:47–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 set_option(options, option_key, json_option_string(*value));
46 }
47}
48
49struct ArtifactKindName {
50 const char * name;
51 engine::runtime::ArtifactKind kind;
52};
53
54// The names the server writes a result artifact's kind with.
55constexpr 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},

Callers 5

json_options_mapFunction · 0.85
add_option_from_jsonFunction · 0.85
merged_optionsFunction · 0.85
json_string_mapFunction · 0.85

Calls 7

stringify_numberFunction · 0.85
stringifyFunction · 0.85
is_stringMethod · 0.80
is_boolMethod · 0.80
as_boolMethod · 0.80
is_numberMethod · 0.80
as_numberMethod · 0.80

Tested by

no test coverage detected