@@ -355,52 +355,6 @@ types:
355355 docs : >-
356356 The list of Datapoints in this Dataset version. Only provided if
357357 explicitly requested.
358- DirectoryResponse :
359- properties :
360- name :
361- type : string
362- docs : Name of the directory to create.
363- parent_id :
364- type : optional<string>
365- docs : >-
366- ID of the parent directory. Will be `None` if the directory is the
367- root directory. Starts with `dir_`.
368- id :
369- type : string
370- docs : String ID of directory. Starts with `dir_`.
371- created_at : datetime
372- updated_at : datetime
373- DirectoryWithParentsAndChildrenResponseFilesItem :
374- discriminated : false
375- union :
376- - PromptResponse
377- - ToolResponse
378- - EvaluatorResponse
379- - DatasetResponse
380- DirectoryWithParentsAndChildrenResponse :
381- properties :
382- name :
383- type : string
384- docs : Name of the directory to create.
385- parent_id :
386- type : optional<string>
387- docs : >-
388- ID of the parent directory. Will be `None` if the directory is the
389- root directory. Starts with `dir_`.
390- id :
391- type : string
392- docs : String ID of directory. Starts with `dir_`.
393- created_at : datetime
394- updated_at : datetime
395- subdirectories :
396- docs : List of subdirectories in the directory.
397- type : list<DirectoryResponse>
398- files :
399- docs : List of files in the directory.
400- type : list<DirectoryWithParentsAndChildrenResponseFilesItem>
401- parents :
402- docs : List of parent directories of the directory.
403- type : list<DirectoryResponse>
404358 EnvironmentResponse :
405359 properties :
406360 id : string
@@ -417,6 +371,7 @@ types:
417371 union :
418372 - PromptResponse
419373 - ToolResponse
374+ - EvaluatorResponse
420375 EvaluateeRequest :
421376 properties :
422377 version_id :
@@ -437,6 +392,7 @@ types:
437392 the user via the API.
438393 default : true
439394 EvaluateeResponse :
395+ docs : Version of the Evaluatee being evaluated.
440396 properties :
441397 version : EvaluatedVersionResponse
442398 batch_id :
@@ -450,27 +406,6 @@ types:
450406 Whether the Prompt/Tool is orchestrated by Humanloop. Default is
451407 `True`. If `False`, a log for the Prompt/Tool should be submitted by
452408 the user via the API.
453- EvaluationDebugResultResponseValue :
454- discriminated : false
455- union :
456- - boolean
457- - double
458- EvaluationDebugResultResponse :
459- docs : >-
460- This is similar to an `EvaluationResult` but is ephemeral as it is only
461- for synchronous
462-
463- debug runs. It does not have an ID, or a reference to an evaluation run or
464- even an evaluation
465-
466- function.
467- properties :
468- log_id : string
469- log : LogResponse
470- datapoint_id : optional<string>
471- llm_evaluation_log : optional<LogResponse>
472- value : optional<EvaluationDebugResultResponseValue>
473- error : optional<string>
474409 EvaluationEvaluatorResponse :
475410 properties :
476411 version : EvaluatorResponse
@@ -482,18 +417,26 @@ types:
482417 via the API.
483418 EvaluationReportLogResponse :
484419 properties :
485- evaluated_version : EvaluatedVersionResponse
486- datapoint : DatapointResponse
487- log : optional<LogResponse>
488- evaluator_logs : list<LogResponse>
420+ evaluated_version :
421+ type : EvaluatedVersionResponse
422+ docs : The version of the Prompt, Tool or Evaluator that the Log belongs to.
423+ datapoint :
424+ type : DatapointResponse
425+ docs : The Datapoint used to generate the log
426+ log :
427+ type : optional<LogResponse>
428+ docs : The Log that was evaluated by the Evaluator.
429+ evaluator_logs :
430+ docs : The Evaluator logs containing the judgments for the Log.
431+ type : list<LogResponse>
489432 EvaluationResponse :
490433 properties :
491434 id :
492435 type : string
493436 docs : Unique identifier for the Evaluation. Starts with `evr`.
494437 dataset :
495438 type : DatasetResponse
496- docs : The Dataset Version used in the Evaluation.
439+ docs : The Dataset used in the Evaluation.
497440 evaluatees :
498441 docs : The Prompt/Tool Versions included in the Evaluation.
499442 type : list<EvaluateeResponse>
@@ -555,27 +498,25 @@ types:
555498 - cancelled
556499 - failed
557500 docs : Status of an evaluation.
558- EvaluatorActivationDeactivationRequestEvaluatorsToActivateItem :
501+ EvaluatorActivationDeactivationRequestActivateItem :
559502 discriminated : false
560503 union :
561504 - MonitoringEvaluatorVersionRequest
562505 - MonitoringEvaluatorEnvironmentRequest
563- EvaluatorActivationDeactivationRequestEvaluatorsToDeactivateItem :
506+ EvaluatorActivationDeactivationRequestDeactivateItem :
564507 discriminated : false
565508 union :
566509 - MonitoringEvaluatorVersionRequest
567510 - MonitoringEvaluatorEnvironmentRequest
568511 EvaluatorActivationDeactivationRequest :
569512 properties :
570- evaluators_to_activate :
571- type : >-
572- optional<list<EvaluatorActivationDeactivationRequestEvaluatorsToActivateItem>>
513+ activate :
514+ type : optional<list<EvaluatorActivationDeactivationRequestActivateItem>>
573515 docs : >-
574- Monitoring Evaluators to activate. These will be automatically run on
575- new Logs.
576- evaluators_to_deactivate :
577- type : >-
578- optional<list<EvaluatorActivationDeactivationRequestEvaluatorsToDeactivateItem>>
516+ Evaluators to activate on Monitoring. These will be automatically run
517+ on new Logs.
518+ deactivate :
519+ type : optional<list<EvaluatorActivationDeactivationRequestDeactivateItem>>
579520 docs : Evaluators to deactivate. These will not be run on new Logs.
580521 EvaluatorAggregate :
581522 properties :
@@ -641,12 +582,12 @@ types:
641582 - HumanEvaluatorRequest
642583 - ExternalEvaluatorRequest
643584 EvaluatorResponse :
644- docs : Request model for creating a new Evaluator
585+ docs : Version of the Evaluator used to provide judgments.
645586 properties :
646587 path :
647588 type : string
648589 docs : >-
649- Path of the Dataset including the Dataset name, which is used as a
590+ Path of the Evaluator including the Evaluator name, which is used as a
650591 unique identifier.
651592 id :
652593 type : string
@@ -685,6 +626,11 @@ types:
685626 Inputs associated to the Prompt. Inputs correspond to any of the
686627 variables used within the Prompt template.
687628 type : list<InputResponse>
629+ evaluators :
630+ type : optional<list<MonitoringEvaluatorResponse>>
631+ docs : >-
632+ Evaluators that have been attached to this Prompt that are used for
633+ monitoring logs.
688634 evaluator_aggregates :
689635 type : optional<list<EvaluatorAggregate>>
690636 docs : Aggregation of Evaluator results for the Evaluator Version.
@@ -1436,10 +1382,8 @@ types:
14361382 enum :
14371383 - openai
14381384 - openai_azure
1439- - ai21
14401385 - mock
14411386 - anthropic
1442- - langchain
14431387 - cohere
14441388 - replicate
14451389 - google
@@ -1556,18 +1500,36 @@ types:
15561500 page : integer
15571501 size : integer
15581502 total : integer
1503+ PaginatedDataEvaluatorResponse :
1504+ properties :
1505+ records : list<EvaluatorResponse>
1506+ page : integer
1507+ size : integer
1508+ total : integer
15591509 PaginatedPromptLogResponse :
15601510 properties :
15611511 records : list<PromptLogResponse>
15621512 page : integer
15631513 size : integer
15641514 total : integer
1515+ PaginatedDataPromptResponse :
1516+ properties :
1517+ records : list<PromptResponse>
1518+ page : integer
1519+ size : integer
1520+ total : integer
15651521 PaginatedSessionResponse :
15661522 properties :
15671523 records : list<SessionResponse>
15681524 page : integer
15691525 size : integer
15701526 total : integer
1527+ PaginatedDataToolResponse :
1528+ properties :
1529+ records : list<ToolResponse>
1530+ page : integer
1531+ size : integer
1532+ total : integer
15711533 PlatformAccessEnum :
15721534 enum :
15731535 - superadmin
@@ -2151,6 +2113,11 @@ types:
21512113 Inputs associated to the Prompt. Inputs correspond to any of the
21522114 variables used within the Prompt template.
21532115 type : list<InputResponse>
2116+ evaluators :
2117+ type : optional<list<MonitoringEvaluatorResponse>>
2118+ docs : >-
2119+ Evaluators that have been attached to this Prompt that are used for
2120+ monitoring logs.
21542121 evaluator_aggregates :
21552122 type : optional<list<EvaluatorAggregate>>
21562123 docs : Aggregation of Evaluator results for the Prompt Version.
@@ -2555,6 +2522,11 @@ types:
25552522 Inputs associated to the Prompt. Inputs correspond to any of the
25562523 variables used within the Tool template.
25572524 type : list<InputResponse>
2525+ evaluators :
2526+ type : optional<list<MonitoringEvaluatorResponse>>
2527+ docs : >-
2528+ Evaluators that have been attached to this Tool that are used for
2529+ monitoring logs.
25582530 signature :
25592531 type : optional<string>
25602532 docs : Signature of the Tool.
0 commit comments