You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// An object describing the expected output of the model. If `json_object` only `function` type `tools` are allowed to be passed to the Run. If `text` the model can return text or any value needed.
/// The name of the JSONSchema. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
148
+
pubname:String,
149
+
/// A description of what the function does, used by the model to choose when and how to call the function.
150
+
#[serde(skip_serializing_if = "Option::is_none")]
151
+
pubdescription:Option<String>,
152
+
/// The parameters the functions accepts, described as a JSON Schema object. See the [guide](https://platform.openai.com/docs/guides/text-generation/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
153
+
///
154
+
/// Omitting `parameters` defines a function with an empty parameter list.
/// The name of the JSONSchema. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
329
+
pubname:String,
330
+
/// A description of what the function does, used by the model to choose when and how to call the function.
331
+
#[serde(skip_serializing_if = "Option::is_none")]
332
+
pubdescription:Option<String>,
333
+
/// The parameters the functions accepts, described as a JSON Schema object. See the [guide](https://platform.openai.com/docs/guides/text-generation/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
334
+
///
335
+
/// Omitting `parameters` defines a function with an empty parameter list.
0 commit comments