pub struct CreateEvalJsonlRunDataSource {
pub source: Value,
pub _type: String,
}
Expand description
§on openapi.yaml
CreateEvalJsonlRunDataSource:
type: object
title: JsonlRunDataSource
description: >
A JsonlRunDataSource object with that specifies a JSONL file that
matches the eval
properties:
type:
type: string
enum:
- jsonl
default: jsonl
description: The type of data source. Always `jsonl`.
x-stainless-const: true
source:
oneOf:
- $ref: "#/components/schemas/EvalJsonlFileContentSource"
- $ref: "#/components/schemas/EvalJsonlFileIdSource"
required:
- type
- source
x-oaiMeta:
name: The file data source object for the eval run configuration
group: evals
example: |
{
"type": "jsonl",
"source": {
"type": "file_id",
"id": "file-9GYS6xbkWgWhmE7VoLUWFg"
}
}
Fields§
§source: Value
§_type: String
The type of data source. Always jsonl
.
Trait Implementations§
Source§impl Debug for CreateEvalJsonlRunDataSource
impl Debug for CreateEvalJsonlRunDataSource
Source§impl<'de> Deserialize<'de> for CreateEvalJsonlRunDataSource
impl<'de> Deserialize<'de> for CreateEvalJsonlRunDataSource
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
Auto Trait Implementations§
impl Freeze for CreateEvalJsonlRunDataSource
impl RefUnwindSafe for CreateEvalJsonlRunDataSource
impl Send for CreateEvalJsonlRunDataSource
impl Sync for CreateEvalJsonlRunDataSource
impl Unpin for CreateEvalJsonlRunDataSource
impl UnwindSafe for CreateEvalJsonlRunDataSource
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