v0.0.43

pipecat-ai/pipecatv0.0.43Oct 10, 2024by aconchillo

AI Summary

Added a Markdown text filter for TTS services and an RTVI user LLM text processor. Refactored transport message urgency handling and improved TTS language conversion.

Key Highlights

  • Added `MarkdownTextFilter` and `RTVIUserLLMTextProcessor` utilities.
  • Refactored `TransportMessageFrame` by removing the `urgent` field and introducing `TransportMessageUrgentFrame`.
  • Fixed Deepgram STT language change application.

Breaking Changes

  • Removed the `urgent` field from `TransportMessageFrame`.

New Features

  • MarkdownTextFilter for TTS text filtering
  • RTVIUserLLMTextProcessor for LLM content messaging
  • TTS language format conversion

Full Release Notes

### Added

- Added a new util called `MarkdownTextFilter` which is a subclass of a new base class called `BaseTextFilter`. This is a configurable utility which is intended to filter text received by TTS services.

- Added new `RTVIUserLLMTextProcessor`. This processor will send an RTVI `user-llm-text` message with the user content's that was sent to the LLM.

### Changed

- `TransportMessageFrame` doesn't have an `urgent` field anymore, instead there's now a `TransportMessageUrgentFrame` which is a `SystemFrame` and therefore skip all internal queuing.

- For TTS services, convert inputted languages to match each service's language format.

### Fixed

- Fixed an issue where changing a language with the Deepgram STT service wouldn't apply the change. This was fixed by disconnecting and reconnecting when the language changes.