smartcat 1.5.0

Putting a brain behind `cat`. CLI interface to bring language models in the Unix ecosystem 🐈‍⬛
1
2
3
4
5
6
7
8
9
10
11
12
use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub struct OpenAiVoiceResponse {
    text: String,
}

impl From<OpenAiVoiceResponse> for String {
    fn from(response: OpenAiVoiceResponse) -> Self {
        response.text
    }
}