some fixes + gliner first implementation
This commit is contained in:
parent
b9d5f41bbd
commit
a8ff3442ff
36 changed files with 1079 additions and 73 deletions
|
|
@ -45,6 +45,11 @@ pub enum AudioType {
|
|||
Kira,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Serialize, Deserialize, Debug, PartialEq)]
|
||||
pub enum SlotExtractionEngine {
|
||||
None,
|
||||
GLiNER,
|
||||
}
|
||||
|
||||
|
||||
impl fmt::Display for WakeWordEngine {
|
||||
|
|
@ -77,6 +82,12 @@ impl fmt::Display for VadBackend {
|
|||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for SlotExtractionEngine {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "{:?}", self)
|
||||
}
|
||||
}
|
||||
|
||||
// pub enum TextToSpeechEngine {}
|
||||
|
||||
// pub enum IntentRecognitionEngine {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue