openai/models/
create_completion_request_stop.rs

1/*
2 * OpenAI API
3 *
4 * APIs for sampling from and fine-tuning language models
5 *
6 * The version of the OpenAPI document: 1.2.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// CreateCompletionRequestStop : Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence. 
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct CreateCompletionRequestStop {
17}
18
19impl CreateCompletionRequestStop {
20    /// Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence. 
21    pub fn new() -> CreateCompletionRequestStop {
22        CreateCompletionRequestStop {
23        }
24    }
25}
26
27