@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.1-ai-plus',
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 (also pass `dataset_run_id` so the score shows up in the run's CSV export).
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.1-ai-plus',
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 (also pass `dataset_run_id` so the score shows up in the run's CSV export).
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.1-ai-plus',
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 (also pass `dataset_run_id` so the score shows up in the run's CSV export).
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 (also pass `dataset_run_id` so the score shows up in the run's CSV export).
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.304.1-ai",
3
+ "version": "4.304.2-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
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.1-ai-plus
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 (also pass `dataset_run_id`
32792
- so the score shows up in the run's CSV export).
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
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.304.1-ai-plus',
24
+ VERSION: '4.304.2-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -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 (also pass `dataset_run_id` so the score shows up in the run's CSV export).
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
  */