Skip to main content

ASRModel.h File

Public NEAT handle for LLiMa speech-to-text models. More...

Included Headers

#include "genai/GenAITypes.h" #include <filesystem> #include <memory> #include <string>

Namespaces Index

namespacesimaai
namespaceneat
namespacegenai

Classes Index

classASRModel

Description

Public NEAT handle for LLiMa speech-to-text models.

File Listing

The file content with the documentation metadata removed is:

1
5#pragma once
6
7#include "genai/GenAITypes.h"
8
9#include <filesystem>
10#include <memory>
11#include <string>
12
14
15class ASRModel {
16public:
17 explicit ASRModel(std::filesystem::path model_dir);
19
20 ASRModel(ASRModel&&) noexcept;
21 ASRModel& operator=(ASRModel&&) noexcept;
22
23 ASRModel(const ASRModel&) = delete;
24 ASRModel& operator=(const ASRModel&) = delete;
25
26 bool accepts_audio() const;
27 std::string model_id() const;
30
31private:
32 struct Impl;
33 std::shared_ptr<Impl> impl_;
34};
35
36} // namespace simaai::neat::genai

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.