Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -84,6 +84,10 @@ Also known as the human to bot (H2B) stream API.

## Changelog

### v2.1.0

* Support for AudioSegmentNormalized based on universal annotations.

### v2.0.0

* Support for the H2H (conversation) protocol version 2 based on universal annotations.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
[project]
name = "uhlive"
version = "2.0.0"
version = "2.1.0"
url="https://github.com/uhlive/python-sdk"
authors = [
{ name = "Allo-Media", email = "support@uh.live" }
Expand Down
7 changes: 7 additions & 0 deletions src/uhlive/stream/conversation/events.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -179,6 +179,12 @@ class AudioSegmentDecoded(AudioSpeechDecoded):
pass


class AudioSegmentNormalized(AudioSpeechDecoded):
"""Normalized segment event."""

pass


class SpeakerJoined(Event):
"""A new speaker joined the conversation (after us)."""

Expand DownExpand Up@@ -412,6 +418,7 @@ def __repr__(self) -> str:
EVENT_MAP = {
"audio_words_decoded": AudioWordsDecoded,
"audio_segment_decoded": AudioSegmentDecoded,
"audio_segment_normalized": AudioSegmentNormalized,
"tags_set": TagsSet,
"speaker_joined": SpeakerJoined,
"speaker_left": SpeakerLeft,
Expand Down
Loading
Loading