@iblai/iblai-api 4.410.1-ai → 4.411.0-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 +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/models/ConversationListItem.d.ts +8 -0
- package/dist/types/models/Conversations.d.ts +10 -1
- package/dist/types/models/PatchedConversations.d.ts +10 -1
- package/package.json +1 -1
- package/sdk_schema.yml +109 -9
- package/src/core/OpenAPI.ts +1 -1
- package/src/models/ConversationListItem.ts +8 -0
- package/src/models/Conversations.ts +10 -1
- package/src/models/PatchedConversations.ts +10 -1
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -5,20 +5,28 @@ export type ConversationListItem = {
|
|
|
5
5
|
username: string | null;
|
|
6
6
|
email: string | null;
|
|
7
7
|
readonly name: string;
|
|
8
|
+
title: string | null;
|
|
8
9
|
first_user_message: string | null;
|
|
9
10
|
readonly topics: string;
|
|
11
|
+
readonly topic_names: string;
|
|
10
12
|
message_count: number;
|
|
11
13
|
user_queries: number;
|
|
12
14
|
assistant_responses: number;
|
|
13
15
|
average_sentiment: number | null;
|
|
14
16
|
readonly sentiment: string;
|
|
17
|
+
rating: number | null;
|
|
15
18
|
created_at: string;
|
|
19
|
+
inserted_at: string;
|
|
20
|
+
last_message_at: string | null;
|
|
16
21
|
mentor: string | null;
|
|
17
22
|
platform_name: string | null;
|
|
18
23
|
platform_key: string | null;
|
|
19
24
|
mentor_unique_id: string | null;
|
|
20
25
|
model: string | null;
|
|
21
26
|
llm_provider: string | null;
|
|
27
|
+
llm_name: string | null;
|
|
28
|
+
routed_provider: string | null;
|
|
29
|
+
readonly tools: string;
|
|
22
30
|
readonly cost: string;
|
|
23
31
|
readonly documents_count: string;
|
|
24
32
|
readonly tool_calls_count: string;
|
|
@@ -3,14 +3,24 @@ export type Conversations = {
|
|
|
3
3
|
readonly id: string;
|
|
4
4
|
readonly messages: string;
|
|
5
5
|
topics: Array<TopicModel>;
|
|
6
|
+
readonly topic_names: Array<string>;
|
|
6
7
|
readonly sentiment: string;
|
|
8
|
+
readonly average_sentiment: number;
|
|
7
9
|
mentor: string;
|
|
10
|
+
mentor_name: string;
|
|
8
11
|
readonly student: string;
|
|
9
12
|
readonly email: string;
|
|
10
13
|
readonly user_full_name: string | null;
|
|
11
14
|
model: string;
|
|
15
|
+
llm_provider: string;
|
|
16
|
+
routed_provider: string | null;
|
|
12
17
|
readonly rating: number;
|
|
13
18
|
platform: string;
|
|
19
|
+
created_at: string;
|
|
20
|
+
readonly cost: number;
|
|
21
|
+
readonly documents_count: number;
|
|
22
|
+
readonly tool_calls_count: number;
|
|
23
|
+
readonly used_documents: boolean;
|
|
14
24
|
/**
|
|
15
25
|
* Email claim from LTI1.3 JWT if an LTI user and available
|
|
16
26
|
*/
|
|
@@ -33,7 +43,6 @@ export type Conversations = {
|
|
|
33
43
|
*/
|
|
34
44
|
disable_chathistory?: boolean;
|
|
35
45
|
llm_name?: string | null;
|
|
36
|
-
llm_provider?: string | null;
|
|
37
46
|
metadata?: any;
|
|
38
47
|
/**
|
|
39
48
|
* AI-generated title summarizing the conversation
|
|
@@ -3,14 +3,24 @@ export type PatchedConversations = {
|
|
|
3
3
|
readonly id?: string;
|
|
4
4
|
readonly messages?: string;
|
|
5
5
|
topics?: Array<TopicModel>;
|
|
6
|
+
readonly topic_names?: Array<string>;
|
|
6
7
|
readonly sentiment?: string;
|
|
8
|
+
readonly average_sentiment?: number;
|
|
7
9
|
mentor?: string;
|
|
10
|
+
mentor_name?: string;
|
|
8
11
|
readonly student?: string;
|
|
9
12
|
readonly email?: string;
|
|
10
13
|
readonly user_full_name?: string | null;
|
|
11
14
|
model?: string;
|
|
15
|
+
llm_provider?: string;
|
|
16
|
+
routed_provider?: string | null;
|
|
12
17
|
readonly rating?: number;
|
|
13
18
|
platform?: string;
|
|
19
|
+
created_at?: string;
|
|
20
|
+
readonly cost?: number;
|
|
21
|
+
readonly documents_count?: number;
|
|
22
|
+
readonly tool_calls_count?: number;
|
|
23
|
+
readonly used_documents?: boolean;
|
|
14
24
|
/**
|
|
15
25
|
* Email claim from LTI1.3 JWT if an LTI user and available
|
|
16
26
|
*/
|
|
@@ -33,7 +43,6 @@ export type PatchedConversations = {
|
|
|
33
43
|
*/
|
|
34
44
|
disable_chathistory?: boolean;
|
|
35
45
|
llm_name?: string | null;
|
|
36
|
-
llm_provider?: string | null;
|
|
37
46
|
metadata?: any;
|
|
38
47
|
/**
|
|
39
48
|
* AI-generated title summarizing the conversation
|
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.
|
|
4
|
+
version: 4.411.0-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -102613,12 +102613,18 @@ components:
|
|
|
102613
102613
|
name:
|
|
102614
102614
|
type: string
|
|
102615
102615
|
readOnly: true
|
|
102616
|
+
title:
|
|
102617
|
+
type: string
|
|
102618
|
+
nullable: true
|
|
102616
102619
|
first_user_message:
|
|
102617
102620
|
type: string
|
|
102618
102621
|
nullable: true
|
|
102619
102622
|
topics:
|
|
102620
102623
|
type: string
|
|
102621
102624
|
readOnly: true
|
|
102625
|
+
topic_names:
|
|
102626
|
+
type: string
|
|
102627
|
+
readOnly: true
|
|
102622
102628
|
message_count:
|
|
102623
102629
|
type: integer
|
|
102624
102630
|
user_queries:
|
|
@@ -102632,9 +102638,20 @@ components:
|
|
|
102632
102638
|
sentiment:
|
|
102633
102639
|
type: string
|
|
102634
102640
|
readOnly: true
|
|
102641
|
+
rating:
|
|
102642
|
+
type: number
|
|
102643
|
+
format: double
|
|
102644
|
+
nullable: true
|
|
102635
102645
|
created_at:
|
|
102636
102646
|
type: string
|
|
102637
102647
|
format: date-time
|
|
102648
|
+
inserted_at:
|
|
102649
|
+
type: string
|
|
102650
|
+
format: date-time
|
|
102651
|
+
last_message_at:
|
|
102652
|
+
type: string
|
|
102653
|
+
format: date-time
|
|
102654
|
+
nullable: true
|
|
102638
102655
|
mentor:
|
|
102639
102656
|
type: string
|
|
102640
102657
|
nullable: true
|
|
@@ -102653,6 +102670,15 @@ components:
|
|
|
102653
102670
|
llm_provider:
|
|
102654
102671
|
type: string
|
|
102655
102672
|
nullable: true
|
|
102673
|
+
llm_name:
|
|
102674
|
+
type: string
|
|
102675
|
+
nullable: true
|
|
102676
|
+
routed_provider:
|
|
102677
|
+
type: string
|
|
102678
|
+
nullable: true
|
|
102679
|
+
tools:
|
|
102680
|
+
type: string
|
|
102681
|
+
readOnly: true
|
|
102656
102682
|
cost:
|
|
102657
102683
|
type: string
|
|
102658
102684
|
readOnly: true
|
|
@@ -102673,6 +102699,9 @@ components:
|
|
|
102673
102699
|
- documents_count
|
|
102674
102700
|
- email
|
|
102675
102701
|
- first_user_message
|
|
102702
|
+
- inserted_at
|
|
102703
|
+
- last_message_at
|
|
102704
|
+
- llm_name
|
|
102676
102705
|
- llm_provider
|
|
102677
102706
|
- mentor
|
|
102678
102707
|
- mentor_unique_id
|
|
@@ -102682,9 +102711,14 @@ components:
|
|
|
102682
102711
|
- platform
|
|
102683
102712
|
- platform_key
|
|
102684
102713
|
- platform_name
|
|
102714
|
+
- rating
|
|
102715
|
+
- routed_provider
|
|
102685
102716
|
- sentiment
|
|
102686
102717
|
- session
|
|
102718
|
+
- title
|
|
102687
102719
|
- tool_calls_count
|
|
102720
|
+
- tools
|
|
102721
|
+
- topic_names
|
|
102688
102722
|
- topics
|
|
102689
102723
|
- used_documents
|
|
102690
102724
|
- user
|
|
@@ -102807,12 +102841,23 @@ components:
|
|
|
102807
102841
|
type: array
|
|
102808
102842
|
items:
|
|
102809
102843
|
$ref: '#/components/schemas/TopicModel'
|
|
102844
|
+
topic_names:
|
|
102845
|
+
type: array
|
|
102846
|
+
items:
|
|
102847
|
+
type: string
|
|
102848
|
+
readOnly: true
|
|
102810
102849
|
sentiment:
|
|
102811
102850
|
type: string
|
|
102812
102851
|
readOnly: true
|
|
102852
|
+
average_sentiment:
|
|
102853
|
+
type: number
|
|
102854
|
+
format: double
|
|
102855
|
+
readOnly: true
|
|
102813
102856
|
mentor:
|
|
102814
102857
|
type: string
|
|
102815
102858
|
format: uuid
|
|
102859
|
+
mentor_name:
|
|
102860
|
+
type: string
|
|
102816
102861
|
student:
|
|
102817
102862
|
type: string
|
|
102818
102863
|
readOnly: true
|
|
@@ -102825,11 +102870,32 @@ components:
|
|
|
102825
102870
|
nullable: true
|
|
102826
102871
|
model:
|
|
102827
102872
|
type: string
|
|
102873
|
+
llm_provider:
|
|
102874
|
+
type: string
|
|
102875
|
+
routed_provider:
|
|
102876
|
+
type: string
|
|
102877
|
+
nullable: true
|
|
102828
102878
|
rating:
|
|
102829
102879
|
type: integer
|
|
102830
102880
|
readOnly: true
|
|
102831
102881
|
platform:
|
|
102832
102882
|
type: string
|
|
102883
|
+
created_at:
|
|
102884
|
+
type: string
|
|
102885
|
+
format: date-time
|
|
102886
|
+
cost:
|
|
102887
|
+
type: number
|
|
102888
|
+
format: double
|
|
102889
|
+
readOnly: true
|
|
102890
|
+
documents_count:
|
|
102891
|
+
type: integer
|
|
102892
|
+
readOnly: true
|
|
102893
|
+
tool_calls_count:
|
|
102894
|
+
type: integer
|
|
102895
|
+
readOnly: true
|
|
102896
|
+
used_documents:
|
|
102897
|
+
type: boolean
|
|
102898
|
+
readOnly: true
|
|
102833
102899
|
lti_email:
|
|
102834
102900
|
type: string
|
|
102835
102901
|
description: Email claim from LTI1.3 JWT if an LTI user and available
|
|
@@ -102862,10 +102928,6 @@ components:
|
|
|
102862
102928
|
type: string
|
|
102863
102929
|
nullable: true
|
|
102864
102930
|
maxLength: 255
|
|
102865
|
-
llm_provider:
|
|
102866
|
-
type: string
|
|
102867
|
-
nullable: true
|
|
102868
|
-
maxLength: 255
|
|
102869
102931
|
metadata:
|
|
102870
102932
|
nullable: true
|
|
102871
102933
|
title:
|
|
@@ -102894,19 +102956,29 @@ components:
|
|
|
102894
102956
|
items:
|
|
102895
102957
|
type: integer
|
|
102896
102958
|
required:
|
|
102959
|
+
- average_sentiment
|
|
102960
|
+
- cost
|
|
102961
|
+
- created_at
|
|
102962
|
+
- documents_count
|
|
102897
102963
|
- email
|
|
102898
102964
|
- id
|
|
102899
102965
|
- inserted_at
|
|
102966
|
+
- llm_provider
|
|
102900
102967
|
- lti_email
|
|
102901
102968
|
- lti_username
|
|
102902
102969
|
- mentor
|
|
102970
|
+
- mentor_name
|
|
102903
102971
|
- messages
|
|
102904
102972
|
- model
|
|
102905
102973
|
- platform
|
|
102906
102974
|
- rating
|
|
102975
|
+
- routed_provider
|
|
102907
102976
|
- sentiment
|
|
102908
102977
|
- student
|
|
102978
|
+
- tool_calls_count
|
|
102979
|
+
- topic_names
|
|
102909
102980
|
- topics
|
|
102981
|
+
- used_documents
|
|
102910
102982
|
- user_full_name
|
|
102911
102983
|
ConversationsChart:
|
|
102912
102984
|
type: object
|
|
@@ -118397,12 +118469,23 @@ components:
|
|
|
118397
118469
|
type: array
|
|
118398
118470
|
items:
|
|
118399
118471
|
$ref: '#/components/schemas/TopicModel'
|
|
118472
|
+
topic_names:
|
|
118473
|
+
type: array
|
|
118474
|
+
items:
|
|
118475
|
+
type: string
|
|
118476
|
+
readOnly: true
|
|
118400
118477
|
sentiment:
|
|
118401
118478
|
type: string
|
|
118402
118479
|
readOnly: true
|
|
118480
|
+
average_sentiment:
|
|
118481
|
+
type: number
|
|
118482
|
+
format: double
|
|
118483
|
+
readOnly: true
|
|
118403
118484
|
mentor:
|
|
118404
118485
|
type: string
|
|
118405
118486
|
format: uuid
|
|
118487
|
+
mentor_name:
|
|
118488
|
+
type: string
|
|
118406
118489
|
student:
|
|
118407
118490
|
type: string
|
|
118408
118491
|
readOnly: true
|
|
@@ -118415,11 +118498,32 @@ components:
|
|
|
118415
118498
|
nullable: true
|
|
118416
118499
|
model:
|
|
118417
118500
|
type: string
|
|
118501
|
+
llm_provider:
|
|
118502
|
+
type: string
|
|
118503
|
+
routed_provider:
|
|
118504
|
+
type: string
|
|
118505
|
+
nullable: true
|
|
118418
118506
|
rating:
|
|
118419
118507
|
type: integer
|
|
118420
118508
|
readOnly: true
|
|
118421
118509
|
platform:
|
|
118422
118510
|
type: string
|
|
118511
|
+
created_at:
|
|
118512
|
+
type: string
|
|
118513
|
+
format: date-time
|
|
118514
|
+
cost:
|
|
118515
|
+
type: number
|
|
118516
|
+
format: double
|
|
118517
|
+
readOnly: true
|
|
118518
|
+
documents_count:
|
|
118519
|
+
type: integer
|
|
118520
|
+
readOnly: true
|
|
118521
|
+
tool_calls_count:
|
|
118522
|
+
type: integer
|
|
118523
|
+
readOnly: true
|
|
118524
|
+
used_documents:
|
|
118525
|
+
type: boolean
|
|
118526
|
+
readOnly: true
|
|
118423
118527
|
lti_email:
|
|
118424
118528
|
type: string
|
|
118425
118529
|
description: Email claim from LTI1.3 JWT if an LTI user and available
|
|
@@ -118452,10 +118556,6 @@ components:
|
|
|
118452
118556
|
type: string
|
|
118453
118557
|
nullable: true
|
|
118454
118558
|
maxLength: 255
|
|
118455
|
-
llm_provider:
|
|
118456
|
-
type: string
|
|
118457
|
-
nullable: true
|
|
118458
|
-
maxLength: 255
|
|
118459
118559
|
metadata:
|
|
118460
118560
|
nullable: true
|
|
118461
118561
|
title:
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -9,20 +9,28 @@ export type ConversationListItem = {
|
|
|
9
9
|
username: string | null;
|
|
10
10
|
email: string | null;
|
|
11
11
|
readonly name: string;
|
|
12
|
+
title: string | null;
|
|
12
13
|
first_user_message: string | null;
|
|
13
14
|
readonly topics: string;
|
|
15
|
+
readonly topic_names: string;
|
|
14
16
|
message_count: number;
|
|
15
17
|
user_queries: number;
|
|
16
18
|
assistant_responses: number;
|
|
17
19
|
average_sentiment: number | null;
|
|
18
20
|
readonly sentiment: string;
|
|
21
|
+
rating: number | null;
|
|
19
22
|
created_at: string;
|
|
23
|
+
inserted_at: string;
|
|
24
|
+
last_message_at: string | null;
|
|
20
25
|
mentor: string | null;
|
|
21
26
|
platform_name: string | null;
|
|
22
27
|
platform_key: string | null;
|
|
23
28
|
mentor_unique_id: string | null;
|
|
24
29
|
model: string | null;
|
|
25
30
|
llm_provider: string | null;
|
|
31
|
+
llm_name: string | null;
|
|
32
|
+
routed_provider: string | null;
|
|
33
|
+
readonly tools: string;
|
|
26
34
|
readonly cost: string;
|
|
27
35
|
readonly documents_count: string;
|
|
28
36
|
readonly tool_calls_count: string;
|
|
@@ -7,14 +7,24 @@ export type Conversations = {
|
|
|
7
7
|
readonly id: string;
|
|
8
8
|
readonly messages: string;
|
|
9
9
|
topics: Array<TopicModel>;
|
|
10
|
+
readonly topic_names: Array<string>;
|
|
10
11
|
readonly sentiment: string;
|
|
12
|
+
readonly average_sentiment: number;
|
|
11
13
|
mentor: string;
|
|
14
|
+
mentor_name: string;
|
|
12
15
|
readonly student: string;
|
|
13
16
|
readonly email: string;
|
|
14
17
|
readonly user_full_name: string | null;
|
|
15
18
|
model: string;
|
|
19
|
+
llm_provider: string;
|
|
20
|
+
routed_provider: string | null;
|
|
16
21
|
readonly rating: number;
|
|
17
22
|
platform: string;
|
|
23
|
+
created_at: string;
|
|
24
|
+
readonly cost: number;
|
|
25
|
+
readonly documents_count: number;
|
|
26
|
+
readonly tool_calls_count: number;
|
|
27
|
+
readonly used_documents: boolean;
|
|
18
28
|
/**
|
|
19
29
|
* Email claim from LTI1.3 JWT if an LTI user and available
|
|
20
30
|
*/
|
|
@@ -37,7 +47,6 @@ export type Conversations = {
|
|
|
37
47
|
*/
|
|
38
48
|
disable_chathistory?: boolean;
|
|
39
49
|
llm_name?: string | null;
|
|
40
|
-
llm_provider?: string | null;
|
|
41
50
|
metadata?: any;
|
|
42
51
|
/**
|
|
43
52
|
* AI-generated title summarizing the conversation
|
|
@@ -7,14 +7,24 @@ export type PatchedConversations = {
|
|
|
7
7
|
readonly id?: string;
|
|
8
8
|
readonly messages?: string;
|
|
9
9
|
topics?: Array<TopicModel>;
|
|
10
|
+
readonly topic_names?: Array<string>;
|
|
10
11
|
readonly sentiment?: string;
|
|
12
|
+
readonly average_sentiment?: number;
|
|
11
13
|
mentor?: string;
|
|
14
|
+
mentor_name?: string;
|
|
12
15
|
readonly student?: string;
|
|
13
16
|
readonly email?: string;
|
|
14
17
|
readonly user_full_name?: string | null;
|
|
15
18
|
model?: string;
|
|
19
|
+
llm_provider?: string;
|
|
20
|
+
routed_provider?: string | null;
|
|
16
21
|
readonly rating?: number;
|
|
17
22
|
platform?: string;
|
|
23
|
+
created_at?: string;
|
|
24
|
+
readonly cost?: number;
|
|
25
|
+
readonly documents_count?: number;
|
|
26
|
+
readonly tool_calls_count?: number;
|
|
27
|
+
readonly used_documents?: boolean;
|
|
18
28
|
/**
|
|
19
29
|
* Email claim from LTI1.3 JWT if an LTI user and available
|
|
20
30
|
*/
|
|
@@ -37,7 +47,6 @@ export type PatchedConversations = {
|
|
|
37
47
|
*/
|
|
38
48
|
disable_chathistory?: boolean;
|
|
39
49
|
llm_name?: string | null;
|
|
40
|
-
llm_provider?: string | null;
|
|
41
50
|
metadata?: any;
|
|
42
51
|
/**
|
|
43
52
|
* AI-generated title summarizing the conversation
|