Merge pull request #641 from pipecat-ai/aleix/prepare-0.0.47
prepare 0.0.47
This commit is contained in:
@@ -5,7 +5,7 @@ All notable changes to **Pipecat** will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [Unreleased]
|
## [0.0.47] - 2024-10-22
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
@@ -23,6 +23,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed an issue that would cause an import error when importing
|
||||||
|
`SileroVADAnalyzer` from the old package `pipecat.vad.silero`.
|
||||||
|
|
||||||
- Fixed `enable_usage_metrics` to control LLM/TTS usage metrics separately
|
- Fixed `enable_usage_metrics` to control LLM/TTS usage metrics separately
|
||||||
from `enable_metrics`.
|
from `enable_metrics`.
|
||||||
|
|
||||||
|
|||||||
@@ -108,7 +108,9 @@ class DailyTranscriptionSettings(BaseModel):
|
|||||||
with warnings.catch_warnings():
|
with warnings.catch_warnings():
|
||||||
warnings.simplefilter("always")
|
warnings.simplefilter("always")
|
||||||
if "tier" in values:
|
if "tier" in values:
|
||||||
warnings.warn("'tier' is deprecated, use 'model' instead", DeprecationWarning)
|
warnings.warn(
|
||||||
|
"Field 'tier' is deprecated, use 'model' instead.", DeprecationWarning
|
||||||
|
)
|
||||||
return values
|
return values
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,13 @@
|
|||||||
# SPDX-License-Identifier: BSD 2-Clause License
|
# SPDX-License-Identifier: BSD 2-Clause License
|
||||||
#
|
#
|
||||||
|
|
||||||
from loguru import logger
|
import warnings
|
||||||
|
|
||||||
logger.warning("DEPRECATED: Package `pipecat.vad` is deprecated, use `pipecat.audio.vad` instead.")
|
with warnings.catch_warnings():
|
||||||
|
warnings.simplefilter("always")
|
||||||
|
warnings.warn(
|
||||||
|
"Package `pipecat.vad` is deprecated, use `pipecat.audio.vad` instead", DeprecationWarning
|
||||||
|
)
|
||||||
|
|
||||||
from ..audio.vad.silero import SileroVADAnalyzer
|
from ..audio.vad.silero import SileroVADAnalyzer
|
||||||
from ..processors.audio.vad.silero import SileroVAD
|
from ..processors.audio.vad.silero import SileroVAD
|
||||||
|
|||||||
@@ -4,8 +4,12 @@
|
|||||||
# SPDX-License-Identifier: BSD 2-Clause License
|
# SPDX-License-Identifier: BSD 2-Clause License
|
||||||
#
|
#
|
||||||
|
|
||||||
from loguru import logger
|
import warnings
|
||||||
|
|
||||||
logger.warning("DEPRECATED: Package `pipecat.vad` is deprecated, use `pipecat.audio.vad` instead.")
|
with warnings.catch_warnings():
|
||||||
|
warnings.simplefilter("always")
|
||||||
|
warnings.warn(
|
||||||
|
"Package `pipecat.vad` is deprecated, use `pipecat.audio.vad` instead", DeprecationWarning
|
||||||
|
)
|
||||||
|
|
||||||
from ..audio.vad.vad_analyzer import VADAnalyzer, VADParams, VADState
|
from ..audio.vad.vad_analyzer import VADAnalyzer, VADParams, VADState
|
||||||
|
|||||||
Reference in New Issue
Block a user