Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 20 KB

File metadata and controls

42 lines (37 loc) · 20 KB

ExperimentResponse

Example Usage

import { ExperimentResponse } from "galileo-generated/models";

let value: ExperimentResponse = {
  id: "<value>",
  projectId: "<value>",
  taskType: 17,
};

Fields

Field Type Required Description
id string ✔️ Galileo ID of the experiment
createdAt Date Timestamp of the experiment's creation
updatedAt Date Timestamp of the trace or span's last update
name string Name of the experiment
projectId string ✔️ Galileo ID of the project associated with this experiment
createdBy string N/A
createdByUser models.UserInfo N/A
numSpans number N/A
numTraces number N/A
taskType models.TaskType ✔️ Valid task types for modeling.

We store these as ints instead of strings because we will be looking this up in the database frequently.
dataset models.ExperimentDataset N/A
aggregateMetrics Record<string, any> N/A
aggregateFeedback Record<string, models.FeedbackAggregate> : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Aggregate feedback information related to the experiment (traces only)
ratingAggregates Record<string, Record<string, models.FeedbackAggregate>> Annotation aggregates keyed by template ID and root type
rankingScore number N/A
rank number N/A
winner boolean N/A
playgroundId string N/A
playground models.ExperimentPlayground N/A
promptRunSettings models.PromptRunSettings N/A
promptModel string N/A
prompt models.ExperimentPrompt N/A
tags Record<string, models.RunTagDB[]> N/A
status models.ExperimentStatus N/A