usecases/local_storage/index library
Functions
-
deleteSavedThread(
String id) → Future< void> -
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.
-
saveGptModel(
GptModel model) → Future< void> -
saveMicSendMode(
MicSendMode mode) → 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> -
updateApiToken(
String token) → Future< void>