pub struct RunCreate {
pub id: String,
pub name: String,
pub run_type: String,
pub inputs: Value,
pub outputs: Option<Value>,
pub error: Option<String>,
pub parent_run_id: Option<String>,
pub start_time: String,
pub end_time: Option<String>,
pub session_name: Option<String>,
pub tags: Vec<String>,
pub extra: RunExtra,
}Expand description
Simplified run structure for API requests
Fields§
§id: StringRun ID.
name: StringRun name.
run_type: StringRun type as a string.
inputs: ValueInputs for the run.
outputs: Option<Value>Outputs of the run.
error: Option<String>Error message, if the run failed.
parent_run_id: Option<String>ID of the parent run, if any.
start_time: StringStart time as an RFC 3339 timestamp.
end_time: Option<String>End time as an RFC 3339 timestamp, if the run finished.
session_name: Option<String>Session/project name.
Tags attached to the run.
extra: RunExtra额外载荷:自定义 metadata 放 extra.metadata(顶层 metadata 会被 LangSmith v2 忽略)。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunCreate
impl RefUnwindSafe for RunCreate
impl Send for RunCreate
impl Sync for RunCreate
impl Unpin for RunCreate
impl UnsafeUnpin for RunCreate
impl UnwindSafe for RunCreate
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