Skip to content

Commit 56a6283

Browse files
Release 0.8.5 (#101)
1 parent a7fcc19 commit 56a6283

File tree

118 files changed

+2888
-855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+2888
-855
lines changed

.fernignore

+3
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ src/core/index.ts
3434
# Tests
3535
tests/empathicVoice
3636
tests/expressionMeasurement
37+
38+
# Eslint
39+
src/errors/HumeError.ts

.mock/definition/empathic-voice/__package__.yml

+820-182
Large diffs are not rendered by default.

.mock/definition/empathic-voice/chatGroups.yml

+54-17
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,41 @@ service:
1414
query-parameters:
1515
page_number:
1616
type: optional<integer>
17-
docs: The page number of the results to return.
17+
docs: >-
18+
Specifies the page number to retrieve, enabling pagination.
19+
20+
21+
This parameter uses zero-based indexing. For example, setting
22+
`page_number` to 0 retrieves the first page of results (items 0-9
23+
if `page_size` is 10), setting `page_number` to 1 retrieves the
24+
second page (items 10-19), and so on. Defaults to 0, which
25+
retrieves the first page.
1826
page_size:
1927
type: optional<integer>
20-
docs: The maximum number of results to include per page.
28+
docs: >-
29+
Specifies the maximum number of results to include per page,
30+
enabling pagination.
31+
32+
33+
The value must be greater than or equal to 1. For example, if
34+
`page_size` is set to 10, each page will include up to 10 items.
35+
Defaults to 10.
2136
ascending_order:
2237
type: optional<boolean>
2338
docs: >-
24-
Boolean to indicate if the results should be paginated in
25-
chronological order or reverse-chronological order. Defaults to
26-
true.
39+
Specifies the sorting order of the results based on their creation
40+
date. Set to true for ascending order (chronological, with the
41+
oldest records first) and false for descending order
42+
(reverse-chronological, with the newest records first). Defaults
43+
to true.
2744
config_id:
2845
type: optional<string>
2946
docs: >-
30-
Filter chatgroups to only include chats that used this config in
31-
their most recent chat.
47+
The unique identifier for an EVI configuration.
48+
49+
50+
Filter Chat Groups to only include Chats that used this
51+
`config_id` in their most recent Chat.
3252
response:
3353
docs: Success
3454
type: root.ReturnPagedChatGroups
@@ -38,7 +58,7 @@ service:
3858
page_number: 1
3959
page_size: 1
4060
total_pages: 1
41-
pagination_direction: pagination_direction
61+
pagination_direction: ASC
4262
chat_groups_page:
4363
- id: id
4464
first_start_timestamp: 1
@@ -53,23 +73,40 @@ service:
5373
path-parameters:
5474
id:
5575
type: string
56-
docs: Identifier for a chat. Formatted as a UUID.
76+
docs: Identifier for a Chat Group. Formatted as a UUID.
5777
display-name: List chat events from a specific chat_group
5878
request:
5979
name: ChatGroupsListChatGroupEventsRequest
6080
query-parameters:
6181
page_size:
6282
type: optional<integer>
63-
docs: The maximum number of results to include per page.
83+
docs: >-
84+
Specifies the maximum number of results to include per page,
85+
enabling pagination.
86+
87+
88+
The value must be greater than or equal to 1. For example, if
89+
`page_size` is set to 10, each page will include up to 10 items.
90+
Defaults to 10.
6491
page_number:
6592
type: optional<integer>
66-
docs: The page number of the results to return.
93+
docs: >-
94+
Specifies the page number to retrieve, enabling pagination.
95+
96+
97+
This parameter uses zero-based indexing. For example, setting
98+
`page_number` to 0 retrieves the first page of results (items 0-9
99+
if `page_size` is 10), setting `page_number` to 1 retrieves the
100+
second page (items 10-19), and so on. Defaults to 0, which
101+
retrieves the first page.
67102
ascending_order:
68103
type: optional<boolean>
69104
docs: >-
70-
Boolean to indicate if the results should be paginated in
71-
chronological order or reverse-chronological order. Defaults to
72-
true.
105+
Specifies the sorting order of the results based on their creation
106+
date. Set to true for ascending order (chronological, with the
107+
oldest records first) and false for descending order
108+
(reverse-chronological, with the newest records first). Defaults
109+
to true.
73110
response:
74111
docs: Success
75112
type: root.ReturnChatGroupPagedEvents
@@ -82,13 +119,13 @@ service:
82119
page_number: 1
83120
page_size: 1
84121
total_pages: 1
85-
pagination_direction: pagination_direction
122+
pagination_direction: ASC
86123
events_page:
87124
- id: id
88125
chat_id: chat_id
89126
timestamp: 1
90-
role: role
91-
type: type
127+
role: USER
128+
type: SYSTEM_PROMPT
92129
message_text: message_text
93130
emotion_features: emotion_features
94131
metadata: metadata

.mock/definition/empathic-voice/chats.yml

+51-19
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,33 @@ service:
1414
query-parameters:
1515
page_number:
1616
type: optional<integer>
17-
docs: The page number of the results to return.
17+
docs: >-
18+
Specifies the page number to retrieve, enabling pagination.
19+
20+
21+
This parameter uses zero-based indexing. For example, setting
22+
`page_number` to 0 retrieves the first page of results (items 0-9
23+
if `page_size` is 10), setting `page_number` to 1 retrieves the
24+
second page (items 10-19), and so on. Defaults to 0, which
25+
retrieves the first page.
1826
page_size:
1927
type: optional<integer>
20-
docs: The maximum number of results to include per page.
28+
docs: >-
29+
Specifies the maximum number of results to include per page,
30+
enabling pagination.
31+
32+
33+
The value must be greater than or equal to 1. For example, if
34+
`page_size` is set to 10, each page will include up to 10 items.
35+
Defaults to 10.
2136
ascending_order:
2237
type: optional<boolean>
2338
docs: >-
24-
Boolean to indicate if the results should be paginated in
25-
chronological order or reverse-chronological order. Defaults to
26-
true.
39+
Specifies the sorting order of the results based on their creation
40+
date. Set to true for ascending order (chronological, with the
41+
oldest records first) and false for descending order
42+
(reverse-chronological, with the newest records first). Defaults
43+
to true.
2744
response:
2845
docs: Success
2946
type: root.ReturnPagedChats
@@ -33,12 +50,11 @@ service:
3350
page_number: 1
3451
page_size: 1
3552
total_pages: 1
36-
pagination_direction: pagination_direction
53+
pagination_direction: ASC
3754
chats_page:
3855
- id: id
3956
chat_group_id: chat_group_id
40-
tag: tag
41-
status: status
57+
status: ACTIVE
4258
start_timestamp: 1
4359
end_timestamp: 1
4460
event_count: 1
@@ -52,23 +68,40 @@ service:
5268
path-parameters:
5369
id:
5470
type: string
55-
docs: Identifier for a chat. Formatted as a UUID.
71+
docs: Identifier for a Chat. Formatted as a UUID.
5672
display-name: List chat events
5773
request:
5874
name: ChatsListChatEventsRequest
5975
query-parameters:
6076
page_size:
6177
type: optional<integer>
62-
docs: The maximum number of results to include per page.
78+
docs: >-
79+
Specifies the maximum number of results to include per page,
80+
enabling pagination.
81+
82+
83+
The value must be greater than or equal to 1. For example, if
84+
`page_size` is set to 10, each page will include up to 10 items.
85+
Defaults to 10.
6386
page_number:
6487
type: optional<integer>
65-
docs: The page number of the results to return.
88+
docs: >-
89+
Specifies the page number to retrieve, enabling pagination.
90+
91+
92+
This parameter uses zero-based indexing. For example, setting
93+
`page_number` to 0 retrieves the first page of results (items 0-9
94+
if `page_size` is 10), setting `page_number` to 1 retrieves the
95+
second page (items 10-19), and so on. Defaults to 0, which
96+
retrieves the first page.
6697
ascending_order:
6798
type: optional<boolean>
6899
docs: >-
69-
Boolean to indicate if the results should be paginated in
70-
chronological order or reverse-chronological order. Defaults to
71-
true.
100+
Specifies the sorting order of the results based on their creation
101+
date. Set to true for ascending order (chronological, with the
102+
oldest records first) and false for descending order
103+
(reverse-chronological, with the newest records first). Defaults
104+
to true.
72105
response:
73106
docs: Success
74107
type: root.ReturnChatPagedEvents
@@ -79,17 +112,16 @@ service:
79112
body:
80113
id: id
81114
chat_group_id: chat_group_id
82-
tag: tag
83-
status: status
115+
status: ACTIVE
84116
start_timestamp: 1
85117
end_timestamp: 1
86-
pagination_direction: pagination_direction
118+
pagination_direction: ASC
87119
events_page:
88120
- id: id
89121
chat_id: chat_id
90122
timestamp: 1
91-
role: role
92-
type: type
123+
role: USER
124+
type: SYSTEM_PROMPT
93125
message_text: message_text
94126
emotion_features: emotion_features
95127
metadata: metadata

0 commit comments

Comments
 (0)