跳至主要内容

ASRModel Class

Declaration​

class simaai::neat::genai::ASRModel { ... }

Included Headers​

#include <ASRModel.h>

Public Constructors Index​

ASRModel (std::filesystem::path model_dir)
ASRModel (ASRModel &&) noexcept
ASRModel (const ASRModel &)=delete

Public Destructor Index​

~ASRModel ()

Public Operators Index​

ASRModel &operator= (ASRModel &&) noexcept
ASRModel &operator= (const ASRModel &)=delete

Public Member Functions Index​

boolaccepts_audio () const
std::stringmodel_id () const
GenerationResultrun (const GenerationRequest &request)
GenerationStreamstream (const GenerationRequest &request)

Private Member Attributes Index​

std::shared_ptr< Impl >impl_

Definition at line 15 of file ASRModel.h.

Public Constructors​

ASRModel()​

simaai::neat::genai::ASRModel::ASRModel (std::filesystem::path model_dir)
explicit

Definition at line 17 of file ASRModel.h.

ASRModel()​

simaai::neat::genai::ASRModel::ASRModel (ASRModel &&)
noexcept

Definition at line 20 of file ASRModel.h.

ASRModel()​

simaai::neat::genai::ASRModel::ASRModel (const ASRModel &)
delete

Definition at line 23 of file ASRModel.h.

Public Destructor​

~ASRModel()​

simaai::neat::genai::ASRModel::~ASRModel ()

Definition at line 18 of file ASRModel.h.

Public Operators​

operator=()​

ASRModel & simaai::neat::genai::ASRModel::operator= (ASRModel &&)
noexcept

Definition at line 21 of file ASRModel.h.

operator=()​

ASRModel & simaai::neat::genai::ASRModel::operator= (const ASRModel &)
delete

Definition at line 24 of file ASRModel.h.

Public Member Functions​

accepts_audio()​

bool simaai::neat::genai::ASRModel::accepts_audio ()

Definition at line 26 of file ASRModel.h.

model_id()​

std::string simaai::neat::genai::ASRModel::model_id ()

Definition at line 27 of file ASRModel.h.

run()​

GenerationResult simaai::neat::genai::ASRModel::run (const GenerationRequest & request)

Definition at line 28 of file ASRModel.h.

stream()​

GenerationStream simaai::neat::genai::ASRModel::stream (const GenerationRequest & request)

Definition at line 29 of file ASRModel.h.

Private Member Attributes​

impl_​

std::shared_ptr<Impl> simaai::neat::genai::ASRModel::impl_

Definition at line 33 of file ASRModel.h.


The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.