thiggle_client/models/categorize_response.rs
1/*
2 * Thiggle API
3 *
4 * API for categorizing data with LLMs
5 *
6 * The version of the OpenAPI document: 0.0.1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct CategorizeResponse {
16 /// A list of chosen categories for the task
17 #[serde(rename = "choices", skip_serializing_if = "Option::is_none")]
18 pub choices: Option<Vec<String>>,
19}
20
21impl CategorizeResponse {
22 pub fn new() -> CategorizeResponse {
23 CategorizeResponse {
24 choices: None,
25 }
26 }
27}
28
29