@@ -5,6 +5,12 @@ 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]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed AzureLLMService.
|
||||||
|
|
||||||
## [0.0.23] - 2024-05-23
|
## [0.0.23] - 2024-05-23
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -77,10 +77,11 @@ class AzureLLMService(BaseOpenAILLMService):
|
|||||||
endpoint,
|
endpoint,
|
||||||
api_version="2023-12-01-preview",
|
api_version="2023-12-01-preview",
|
||||||
model):
|
model):
|
||||||
super().__init__(api_key=api_key, model=model)
|
# Initialize variables before calling parent __init__() because that
|
||||||
|
# will call create_client() and we need those values there.
|
||||||
self._endpoint = endpoint
|
self._endpoint = endpoint
|
||||||
self._api_version = api_version
|
self._api_version = api_version
|
||||||
self._model: str = model
|
super().__init__(api_key=api_key, model=model)
|
||||||
|
|
||||||
def create_client(self, api_key=None, base_url=None):
|
def create_client(self, api_key=None, base_url=None):
|
||||||
self._client = AsyncAzureOpenAI(
|
self._client = AsyncAzureOpenAI(
|
||||||
|
|||||||
Reference in New Issue
Block a user