openai_struct/models/
create_thread_request_tool_resources_file_search.rs

1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11#[allow(unused_imports)]
12use serde_json::Value;
13
14#[derive(Debug, Serialize, Deserialize)]
15pub struct CreateThreadRequestToolResourcesFileSearch {
16    /// The [vector store](/docs/api-reference/vector-stores/object) attached to this thread. There can be a maximum of 1 vector store attached to the thread.
17    #[serde(rename = "vector_store_ids")]
18    pub vector_store_ids: Option<Vec<String>>,
19    /// A helper to create a [vector store](/docs/api-reference/vector-stores/object) with file_ids and attach it to this thread. There can be a maximum of 1 vector store attached to the thread.
20    #[serde(rename = "vector_stores")]
21    pub vector_stores:
22        Option<Vec<crate::models::CreateAssistantRequestToolResourcesFileSearchVectorStores>>,
23}