@iblai/iblai-api 4.304.1-ai → 4.304.2-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js
CHANGED
|
@@ -110,7 +110,7 @@ class CancelablePromise {
|
|
|
110
110
|
|
|
111
111
|
const OpenAPI = {
|
|
112
112
|
BASE: 'https://base.manager.iblai.app',
|
|
113
|
-
VERSION: '4.304.
|
|
113
|
+
VERSION: '4.304.2-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -19626,7 +19626,7 @@ class AiMentorService{/**
|
|
|
19626
19626
|
* @throws ApiError
|
|
19627
19627
|
*/static aiMentorOrgsUsersEvaluationsScoresRetrieve({org,userId,datasetRunId,limit,name,page,traceId,userEmail}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/evaluations/scores/',path:{'org':org,'user_id':userId},query:{'dataset_run_id':datasetRunId,'limit':limit,'name':name,'page':page,'trace_id':traceId,'user_email':userEmail}});}/**
|
|
19628
19628
|
* Create a score
|
|
19629
|
-
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item
|
|
19629
|
+
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item. Scores on a run item's trace automatically appear in the run detail and CSV export; optionally pass `dataset_run_id` to additionally tag the score with its run for `dataset_run_id`-filtered listings.
|
|
19630
19630
|
* @returns ScoreCreateResponse
|
|
19631
19631
|
* @throws ApiError
|
|
19632
19632
|
*/static aiMentorOrgsUsersEvaluationsScoresCreate({org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/evaluations/scores/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json',errors:{400:`Validation error.`}});}/**
|
package/dist/index.esm.js
CHANGED
|
@@ -108,7 +108,7 @@ class CancelablePromise {
|
|
|
108
108
|
|
|
109
109
|
const OpenAPI = {
|
|
110
110
|
BASE: 'https://base.manager.iblai.app',
|
|
111
|
-
VERSION: '4.304.
|
|
111
|
+
VERSION: '4.304.2-ai-plus',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -19624,7 +19624,7 @@ class AiMentorService{/**
|
|
|
19624
19624
|
* @throws ApiError
|
|
19625
19625
|
*/static aiMentorOrgsUsersEvaluationsScoresRetrieve({org,userId,datasetRunId,limit,name,page,traceId,userEmail}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/evaluations/scores/',path:{'org':org,'user_id':userId},query:{'dataset_run_id':datasetRunId,'limit':limit,'name':name,'page':page,'trace_id':traceId,'user_email':userEmail}});}/**
|
|
19626
19626
|
* Create a score
|
|
19627
|
-
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item
|
|
19627
|
+
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item. Scores on a run item's trace automatically appear in the run detail and CSV export; optionally pass `dataset_run_id` to additionally tag the score with its run for `dataset_run_id`-filtered listings.
|
|
19628
19628
|
* @returns ScoreCreateResponse
|
|
19629
19629
|
* @throws ApiError
|
|
19630
19630
|
*/static aiMentorOrgsUsersEvaluationsScoresCreate({org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/evaluations/scores/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json',errors:{400:`Validation error.`}});}/**
|
package/dist/index.umd.js
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
const OpenAPI = {
|
|
116
116
|
BASE: 'https://base.manager.iblai.app',
|
|
117
|
-
VERSION: '4.304.
|
|
117
|
+
VERSION: '4.304.2-ai-plus',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -19630,7 +19630,7 @@
|
|
|
19630
19630
|
* @throws ApiError
|
|
19631
19631
|
*/static aiMentorOrgsUsersEvaluationsScoresRetrieve({org,userId,datasetRunId,limit,name,page,traceId,userEmail}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/evaluations/scores/',path:{'org':org,'user_id':userId},query:{'dataset_run_id':datasetRunId,'limit':limit,'name':name,'page':page,'trace_id':traceId,'user_email':userEmail}});}/**
|
|
19632
19632
|
* Create a score
|
|
19633
|
-
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item
|
|
19633
|
+
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item. Scores on a run item's trace automatically appear in the run detail and CSV export; optionally pass `dataset_run_id` to additionally tag the score with its run for `dataset_run_id`-filtered listings.
|
|
19634
19634
|
* @returns ScoreCreateResponse
|
|
19635
19635
|
* @throws ApiError
|
|
19636
19636
|
*/static aiMentorOrgsUsersEvaluationsScoresCreate({org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/evaluations/scores/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json',errors:{400:`Validation error.`}});}/**
|
|
@@ -6826,7 +6826,7 @@ export declare class AiMentorService {
|
|
|
6826
6826
|
}): CancelablePromise<PaginatedScoreList>;
|
|
6827
6827
|
/**
|
|
6828
6828
|
* Create a score
|
|
6829
|
-
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item
|
|
6829
|
+
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item. Scores on a run item's trace automatically appear in the run detail and CSV export; optionally pass `dataset_run_id` to additionally tag the score with its run for `dataset_run_id`-filtered listings.
|
|
6830
6830
|
* @returns ScoreCreateResponse
|
|
6831
6831
|
* @throws ApiError
|
|
6832
6832
|
*/
|
package/package.json
CHANGED
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version: 4.304.
|
|
4
|
+
version: 4.304.2-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -32788,8 +32788,9 @@ paths:
|
|
|
32788
32788
|
operationId: ai_mentor_orgs_users_evaluations_scores_create
|
|
32789
32789
|
description: Create a score on a trace or observation. Use this to record human
|
|
32790
32790
|
grading of a single chat message (pass the chat frame's `generation_id` as
|
|
32791
|
-
`trace_id`) or to score an experiment-run item
|
|
32792
|
-
|
|
32791
|
+
`trace_id`) or to score an experiment-run item. Scores on a run item's trace
|
|
32792
|
+
automatically appear in the run detail and CSV export; optionally pass `dataset_run_id`
|
|
32793
|
+
to additionally tag the score with its run for `dataset_run_id`-filtered listings.
|
|
32793
32794
|
summary: Create a score
|
|
32794
32795
|
parameters:
|
|
32795
32796
|
- in: path
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -13379,7 +13379,7 @@ export class AiMentorService {
|
|
|
13379
13379
|
}
|
|
13380
13380
|
/**
|
|
13381
13381
|
* Create a score
|
|
13382
|
-
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item
|
|
13382
|
+
* Create a score on a trace or observation. Use this to record human grading of a single chat message (pass the chat frame's `generation_id` as `trace_id`) or to score an experiment-run item. Scores on a run item's trace automatically appear in the run detail and CSV export; optionally pass `dataset_run_id` to additionally tag the score with its run for `dataset_run_id`-filtered listings.
|
|
13383
13383
|
* @returns ScoreCreateResponse
|
|
13384
13384
|
* @throws ApiError
|
|
13385
13385
|
*/
|