Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Oct 15, 2024
1 parent 935ed6a commit c8d810d
Show file tree
Hide file tree
Showing 7 changed files with 310 additions and 282 deletions.
15 changes: 13 additions & 2 deletions .mock/definition/empathic-voice/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ errors:
status-code: 400
type: ErrorResponse
docs: Bad Request
examples:
- value: {}
types:
ErrorResponse:
properties:
Expand Down Expand Up @@ -2239,7 +2241,14 @@ types:
source:
openapi: assistant-asyncapi.json
UserInput:
docs: User text to insert into the conversation.
docs: >-
User text to insert into the conversation. Text sent through a User Input
message is treated as the user’s speech to EVI. EVI processes this input
and provides a corresponding response.
Expression measurement results are not available for User Input messages,
as the prosody model relies on audio input and cannot process text alone.
properties:
type:
type: literal<"user_input">
Expand Down Expand Up @@ -2323,7 +2332,9 @@ types:
source:
openapi: assistant-asyncapi.json
AudioOutput:
docs: When provided, the output is audio.
docs: >-
The type of message sent through the socket; for an Audio Output message,
this must be `audio_output`.
properties:
type:
type: literal<"audio_output">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
channel:
path: /v0/stream/models
auth: false
display-name: Stream
headers:
X-Hume-Api-Key:
type: string
Expand Down
2 changes: 1 addition & 1 deletion .mock/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization" : "hume",
"version" : "0.43.5"
"version" : "0.44.11"
}
566 changes: 290 additions & 276 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hume"
version = "0.7.2"
version = "0.7.3"
description = "A Python SDK for Hume AI"
readme = "README.md"
authors = []
Expand Down
2 changes: 1 addition & 1 deletion src/hume/empathic_voice/types/audio_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class AudioOutput(UniversalBaseModel):
"""
When provided, the output is audio.
The type of message sent through the socket; for an Audio Output message, this must be `audio_output`.
"""

type: typing.Literal["audio_output"] = pydantic.Field(default="audio_output")
Expand Down
4 changes: 3 additions & 1 deletion src/hume/empathic_voice/types/user_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

class UserInput(UniversalBaseModel):
"""
User text to insert into the conversation.
User text to insert into the conversation. Text sent through a User Input message is treated as the user’s speech to EVI. EVI processes this input and provides a corresponding response.
Expression measurement results are not available for User Input messages, as the prosody model relies on audio input and cannot process text alone.
"""

type: typing.Literal["user_input"] = pydantic.Field(default="user_input")
Expand Down

0 comments on commit c8d810d

Please sign in to comment.