Skip to content

Commit 1731e8a

Browse files
🌿 Fern Regeneration -- October 1, 2025 (#551)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 5a34240 commit 1731e8a

File tree

4 files changed

+116
-22
lines changed

4 files changed

+116
-22
lines changed

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

Lines changed: 105 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,111 @@ channel:
9898
Use the GET `/v0/evi/chat_groups` endpoint to obtain the Chat Group IDs
9999
of all Chat Groups associated with an API key. This endpoint returns a
100100
list of all available chat groups.
101-
session_settings[audio][channels]: optional<integer>
102-
session_settings[audio][encoding]: optional<string>
103-
session_settings[audio][sample_rate]: optional<integer>
104-
session_settings[context][text]: optional<string>
105-
session_settings[context][type]: optional<string>
106-
session_settings[custom_session_id]: optional<string>
107-
session_settings[event_limit]: optional<integer>
108-
session_settings[language_model_api_key]: optional<string>
109-
session_settings[system_prompt]: optional<string>
110-
session_settings[variables]: optional<string>
111-
session_settings[voice_id]: optional<string>
101+
session_settings[audio][channels]:
102+
type: optional<integer>
103+
docs: Sets number of audio channels for audio input.
104+
session_settings[audio][encoding]:
105+
type: optional<string>
106+
docs: Sets encoding format of the audio input, such as `linear16`.
107+
session_settings[audio][sample_rate]:
108+
type: optional<integer>
109+
docs: >-
110+
Sets the sample rate for audio input. (Number of samples per second in
111+
the audio input, measured in Hertz.)
112+
session_settings[context][text]:
113+
type: optional<string>
114+
docs: >-
115+
The context to be injected into the conversation. Helps inform the LLM's
116+
response by providing relevant information about the ongoing
117+
conversation.
118+
119+
120+
This text will be appended to the end of
121+
[user_messages](/reference/speech-to-speech-evi/chat#receive.UserMessage.message.content)
122+
based on the chosen persistence level. For example, if you want to
123+
remind EVI of its role as a helpful weather assistant, the context you
124+
insert will be appended to the end of user messages as `{Context: You
125+
are a helpful weather assistant}`.
126+
session_settings[context][type]:
127+
type: optional<string>
128+
docs: >-
129+
The persistence level of the injected context. Specifies how long the
130+
injected context will remain active in the session.
131+
132+
133+
- **Temporary**: Context that is only applied to the following assistant
134+
response.
135+
136+
137+
- **Persistent**: Context that is applied to all subsequent assistant
138+
responses for the remainder of the Chat.
139+
session_settings[custom_session_id]:
140+
type: optional<string>
141+
docs: >-
142+
Used to manage conversational state, correlate frontend and backend
143+
data, and persist conversations across EVI sessions.
144+
session_settings[event_limit]:
145+
type: optional<integer>
146+
docs: >-
147+
The maximum number of chat events to return from chat history. By
148+
default, the system returns up to 300 events (100 events per page × 3
149+
pages). Set this parameter to a smaller value to limit the number of
150+
events returned.
151+
session_settings[language_model_api_key]:
152+
type: optional<string>
153+
docs: >-
154+
Third party API key for the supplemental language model.
155+
156+
157+
When provided, EVI will use this key instead of Hume's API key for the
158+
supplemental LLM. This allows you to bypass rate limits and utilize your
159+
own API key as needed.
160+
session_settings[system_prompt]:
161+
type: optional<string>
162+
docs: >-
163+
Instructions used to shape EVI's behavior, responses, and style for the
164+
session.
165+
166+
167+
When included in a Session Settings message, the provided Prompt
168+
overrides the existing one specified in the EVI configuration. If no
169+
Prompt was defined in the configuration, this Prompt will be the one
170+
used for the session.
171+
172+
173+
You can use the Prompt to define a specific goal or role for EVI,
174+
specifying how it should act or what it should focus on during the
175+
conversation. For example, EVI can be instructed to act as a customer
176+
support representative, a fitness coach, or a travel advisor, each with
177+
its own set of behaviors and response styles.
178+
179+
180+
For help writing a system prompt, see our [Prompting
181+
Guide](/docs/speech-to-speech-evi/guides/prompting).
182+
session_settings[variables]:
183+
type: optional<string>
184+
docs: >-
185+
This field allows you to assign values to dynamic variables referenced
186+
in your system prompt.
187+
188+
189+
Each key represents the variable name, and the corresponding value is
190+
the specific content you wish to assign to that variable within the
191+
session. While the values for variables can be strings, numbers, or
192+
booleans, the value will ultimately be converted to a string when
193+
injected into your system prompt.
194+
195+
196+
Using this field, you can personalize responses based on
197+
session-specific details. For more guidance, see our [guide on using
198+
dynamic
199+
variables](/docs/speech-to-speech-evi/features/dynamic-variables).
200+
session_settings[voice_id]:
201+
type: optional<string>
202+
docs: >-
203+
The name or ID of the voice from the `Voice Library` to be used as the
204+
speaker for this EVI session. This will override the speaker set in the
205+
selected configuration.
112206
verbose_transcription:
113207
type: optional<boolean>
114208
default: false

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hume",
3-
"version": "0.14.0",
3+
"version": "0.14.1",
44
"private": false,
55
"repository": "https://github.com/HumeAI/hume-typescript-sdk",
66
"main": "./index.js",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "0.14.0";
1+
export const SDK_VERSION = "0.14.1";

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ base64-js@^1.3.1:
11261126
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
11271127
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
11281128

1129-
baseline-browser-mapping@^2.8.3:
1129+
baseline-browser-mapping@^2.8.9:
11301130
version "2.8.10"
11311131
resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.10.tgz#32eb5e253d633fa3fa3ffb1685fabf41680d9e8a"
11321132
integrity sha512-uLfgBi+7IBNay8ECBO2mVMGZAc1VgZWEChxm4lv+TobGdG82LnXMjuNGo/BSSZZL4UmkWhxEHP2f5ziLNwGWMA==
@@ -1147,13 +1147,13 @@ braces@^3.0.3:
11471147
fill-range "^7.1.1"
11481148

11491149
browserslist@^4.24.0, browserslist@^4.24.5:
1150-
version "4.26.2"
1151-
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.26.2.tgz#7db3b3577ec97f1140a52db4936654911078cef3"
1152-
integrity sha512-ECFzp6uFOSB+dcZ5BK/IBaGWssbSYBHvuMeMt3MMFyhI0Z8SqGgEkBLARgpRH3hutIgPVsALcMwbDrJqPxQ65A==
1150+
version "4.26.3"
1151+
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.26.3.tgz#40fbfe2d1cd420281ce5b1caa8840049c79afb56"
1152+
integrity sha512-lAUU+02RFBuCKQPj/P6NgjlbCnLBMp4UtgTx7vNHd3XSIJF87s9a5rA3aH2yw3GS9DqZAUbOtZdCCiZeVRqt0w==
11531153
dependencies:
1154-
baseline-browser-mapping "^2.8.3"
1155-
caniuse-lite "^1.0.30001741"
1156-
electron-to-chromium "^1.5.218"
1154+
baseline-browser-mapping "^2.8.9"
1155+
caniuse-lite "^1.0.30001746"
1156+
electron-to-chromium "^1.5.227"
11571157
node-releases "^2.0.21"
11581158
update-browserslist-db "^1.1.3"
11591159

@@ -1215,7 +1215,7 @@ camelcase@^6.2.0:
12151215
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
12161216
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
12171217

1218-
caniuse-lite@^1.0.30001741:
1218+
caniuse-lite@^1.0.30001746:
12191219
version "1.0.30001746"
12201220
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001746.tgz#199d20f04f5369825e00ff7067d45d5dfa03aee7"
12211221
integrity sha512-eA7Ys/DGw+pnkWWSE/id29f2IcPHVoE8wxtvE5JdvD2V28VTDPy1yEeo11Guz0sJ4ZeGRcm3uaTcAqK1LXaphA==
@@ -1412,7 +1412,7 @@ dunder-proto@^1.0.1:
14121412
es-errors "^1.3.0"
14131413
gopd "^1.2.0"
14141414

1415-
electron-to-chromium@^1.5.218:
1415+
electron-to-chromium@^1.5.227:
14161416
version "1.5.228"
14171417
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.228.tgz#38b849bc8714bd21fb64f5ad56bf8cfd8638e1e9"
14181418
integrity sha512-nxkiyuqAn4MJ1QbobwqJILiDtu/jk14hEAWaMiJmNPh1Z+jqoFlBFZjdXwLWGeVSeu9hGLg6+2G9yJaW8rBIFA==

0 commit comments

Comments
 (0)