#pragma once
#include "transcribe-session.h"
#include <string>
#include <vector>
struct transcribe_model;
struct transcribe_run_params;
namespace transcribe::granite {
extern const char k_saa_instruction[];
bool diarize_requested(const transcribe_model * model, const transcribe_run_params * params);
bool split_speaker_turns(const std::string & raw,
std::vector<transcribe_session::SegmentEntry> & out_segments,
std::vector<transcribe_session::SpeakerSegmentEntry> & out_speaker_segments,
std::string & out_full_text);
}