pub struct ResponseFunctionCallArgumentsDeltaEvent {
pub delta: String,
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: ResponseFunctionCallArgumentsDeltaEventType,
}Expand description
Emitted when there is a partial function-call arguments delta.
JSON schema
{
"description": "Emitted when there is a partial function-call arguments delta.",
"type": "object",
"required": [
"delta",
"item_id",
"output_index",
"sequence_number",
"type"
],
"properties": {
"delta": {
"description": "The function-call arguments delta that is added.\n",
"type": "string"
},
"item_id": {
"description": "The ID of the output item that the function-call arguments delta is added to.\n",
"type": "string"
},
"output_index": {
"description": "The index of the output item that the function-call arguments delta is added to.\n",
"type": "integer"
},
"sequence_number": {
"description": "The sequence number of this event.",
"type": "integer"
},
"type": {
"description": "The type of the event. Always `response.function_call_arguments.delta`.\n",
"type": "string",
"enum": [
"response.function_call_arguments.delta"
],
"x-stainless-const": true
}
},
"x-oaiMeta": {
"group": "responses",
"name": "response.function_call_arguments.delta"
}
}Fields§
§delta: StringThe function-call arguments delta that is added.
item_id: StringThe ID of the output item that the function-call arguments delta is added to.
output_index: i64The index of the output item that the function-call arguments delta is added to.
sequence_number: i64The sequence number of this event.
type_: ResponseFunctionCallArgumentsDeltaEventTypeThe type of the event. Always response.function_call_arguments.delta.
Trait Implementations§
Source§impl Clone for ResponseFunctionCallArgumentsDeltaEvent
impl Clone for ResponseFunctionCallArgumentsDeltaEvent
Source§fn clone(&self) -> ResponseFunctionCallArgumentsDeltaEvent
fn clone(&self) -> ResponseFunctionCallArgumentsDeltaEvent
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 ResponseFunctionCallArgumentsDeltaEvent
impl<'de> Deserialize<'de> for ResponseFunctionCallArgumentsDeltaEvent
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<ResponseFunctionCallArgumentsDeltaEvent> for ResponseStreamEvent
impl From<ResponseFunctionCallArgumentsDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseFunctionCallArgumentsDeltaEvent) -> Self
fn from(value: ResponseFunctionCallArgumentsDeltaEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseFunctionCallArgumentsDeltaEvent
impl RefUnwindSafe for ResponseFunctionCallArgumentsDeltaEvent
impl Send for ResponseFunctionCallArgumentsDeltaEvent
impl Sync for ResponseFunctionCallArgumentsDeltaEvent
impl Unpin for ResponseFunctionCallArgumentsDeltaEvent
impl UnsafeUnpin for ResponseFunctionCallArgumentsDeltaEvent
impl UnwindSafe for ResponseFunctionCallArgumentsDeltaEvent
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