usecases/index library
Functions
-
askAssistant(
{required String assistantId, required String threadId}) → Stream< String> -
createThread(
) → Future< Conversation> -
deleteSavedThread(
String id) → Future< void> -
deleteThread(
String id) → Future< void> -
downloadTTSfile(
{required String voice, required String input, Directory? folder}) → Future< File> -
findAssistants(
) → Future< List< Assistant> > -
getApiToken(
) → Future< String?> -
getMicSendMode(
) → Future< MicSendMode> -
getSavedGptModel(
) → Future< GptModel?> -
getSavedThreadIds(
) → Future< List< String> > -
getSavedThreadsTtl(
) → Future< Duration> -
getThreadsTitle(
Iterable< String> ids) → Future<Map< String, String> > -
getThreadTitle(
String id) → Future< String?> -
getTranscriptionLanguage(
) → Future< String?> -
getTtsQuality(
) → Future< bool> - Returns true for high quality.
-
loadThread(
String id) → Future< Conversation?> -
loadThreadMessages(
String threadId) → Future< List< Message> > -
saveGptModel(
GptModel model) → Future< void> -
saveMicSendMode(
MicSendMode mode) → Future< void> -
saveThread(
String threadId, Map< String, String> metadata) → Future<void> -
saveThreadId(
String id) → Future< void> -
saveThreadsTtl(
Duration duration) → Future< void> -
saveThreadTitle(
String id, String title) → Future< void> -
saveTranscriptionLanguage(
String lang) → Future< void> -
saveTtsQuality(
bool highQuality) → Future< void> -
transcribe(
File file) → Future< String> -
updateApiToken(
String token) → Future< void>