voice_audio_multi/include/engine/community_models/fish_drama3/prompt.h
Fabio c36510c21e
Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
Initial import: audio.cpp with Orange Pi documentation
2026-11-04 19:05:22 +01:00

19 lines
695 B
C++

#pragma once
#include "engine/community_models/fish_drama3/assets.h"
#include "engine/community_models/fish_drama3/tokenizer_text.h"
namespace engine::models::fish_drama3 {
struct Drama3Take {
std::string text;
codecs::FishDacCodes codes;
};
void validate_drama3_text(const std::string & text, const char * location);
void validate_drama3_codes(const codecs::FishDacCodes & codes, int64_t codebook_size);
std::vector<Drama3Frame> build_drama3_prompt(const Drama3Assets & assets,
const Drama3TextTokenizer & tokenizer, const std::string & text,
const std::vector<Drama3Take> & references, const std::vector<Drama3Take> & history);
} // namespace engine::models::fish_drama3