pub struct ResponseFunctionCallArgumentsDoneEvent {
pub arguments: String,
pub item_id: String,
pub name: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: ResponseFunctionCallArgumentsDoneEventType,
}Expand description
Emitted when function-call arguments are finalized.
JSON schema
{
"description": "Emitted when function-call arguments are finalized.",
"type": "object",
"required": [
"arguments",
"item_id",
"name",
"output_index",
"sequence_number",
"type"
],
"properties": {
"arguments": {
"description": "The function-call arguments.",
"type": "string"
},
"item_id": {
"description": "The ID of the item.",
"type": "string"
},
"name": {
"description": "The name of the function that was called.",
"type": "string"
},
"output_index": {
"description": "The index of the output item.",
"type": "integer"
},
"sequence_number": {
"description": "The sequence number of this event.",
"type": "integer"
},
"type": {
"type": "string",
"enum": [
"response.function_call_arguments.done"
],
"x-stainless-const": true
}
},
"x-oaiMeta": {
"group": "responses",
"name": "response.function_call_arguments.done"
}
}Fields§
§arguments: StringThe function-call arguments.
item_id: StringThe ID of the item.
name: StringThe name of the function that was called.
output_index: i64The index of the output item.
sequence_number: i64The sequence number of this event.
type_: ResponseFunctionCallArgumentsDoneEventTypeTrait Implementations§
Source§impl Clone for ResponseFunctionCallArgumentsDoneEvent
impl Clone for ResponseFunctionCallArgumentsDoneEvent
Source§fn clone(&self) -> ResponseFunctionCallArgumentsDoneEvent
fn clone(&self) -> ResponseFunctionCallArgumentsDoneEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ResponseFunctionCallArgumentsDoneEvent
impl<'de> Deserialize<'de> for ResponseFunctionCallArgumentsDoneEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ResponseFunctionCallArgumentsDoneEvent> for ResponseStreamEvent
impl From<ResponseFunctionCallArgumentsDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseFunctionCallArgumentsDoneEvent) -> Self
fn from(value: ResponseFunctionCallArgumentsDoneEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseFunctionCallArgumentsDoneEvent
impl RefUnwindSafe for ResponseFunctionCallArgumentsDoneEvent
impl Send for ResponseFunctionCallArgumentsDoneEvent
impl Sync for ResponseFunctionCallArgumentsDoneEvent
impl Unpin for ResponseFunctionCallArgumentsDoneEvent
impl UnsafeUnpin for ResponseFunctionCallArgumentsDoneEvent
impl UnwindSafe for ResponseFunctionCallArgumentsDoneEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more