CreateEvalCompletionsRunDataSource interface
A CompletionsRunDataSource object describing a model sampling configuration.
Properties
| input_messages | Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, |
| model | The name of the model to use for generating completions (e.g. "o3-mini"). |
| sampling_params | |
| source | Determines what populates the |
| type | The type of run data source. Always |
Property Details
input_messages
Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, item.input_trajectory), or a template with variable references to the item namespace.
input_messages?: CreateEvalCompletionsRunDataSourceInputMessagesItemReference | CreateEvalCompletionsRunDataSourceInputMessagesTemplate
Property Value
model
The name of the model to use for generating completions (e.g. "o3-mini").
model?: string
Property Value
string
sampling_params
sampling_params?: CreateEvalCompletionsRunDataSourceSamplingParams
Property Value
source
Determines what populates the item namespace in this run's data source.
source: EvalJsonlFileContentSource | EvalJsonlFileIdSource | EvalStoredCompletionsSource
Property Value
type
The type of run data source. Always completions.
type: "completions"
Property Value
"completions"