openai_struct/models/modify_assistant_request_tool_resources.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/// pub ModifyAssistantRequestToolResources : A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct ModifyAssistantRequestToolResources {
18 #[serde(rename = "code_interpreter")]
19 pub code_interpreter: Option<crate::models::ModifyAssistantRequestToolResourcesCodeInterpreter>,
20 #[serde(rename = "file_search")]
21 pub file_search: Option<crate::models::ModifyAssistantRequestToolResourcesFileSearch>,
22}