docstring fixup
This commit is contained in:
@@ -21,7 +21,7 @@ except ModuleNotFoundError as e:
|
|||||||
|
|
||||||
|
|
||||||
class AzureRealtimeBetaLLMService(OpenAIRealtimeBetaLLMService):
|
class AzureRealtimeBetaLLMService(OpenAIRealtimeBetaLLMService):
|
||||||
"""Subclass ofOpenAI Realtime API Service with adjustments for Azure's wss connection."""
|
"""Subclass of OpenAI Realtime API Service with adjustments for Azure's wss connection."""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
@@ -36,8 +36,6 @@ class AzureRealtimeBetaLLMService(OpenAIRealtimeBetaLLMService):
|
|||||||
api_key: The API key for the Azure OpenAI service.
|
api_key: The API key for the Azure OpenAI service.
|
||||||
base_url: The base URL for the Azure OpenAI service.
|
base_url: The base URL for the Azure OpenAI service.
|
||||||
|
|
||||||
All other constructor args are passed to the parent class OpenAIRealtimeBetaLLMService.
|
|
||||||
|
|
||||||
base_url should be set to the full Azure endpoint URL including the api-version and the deployment name. For example,
|
base_url should be set to the full Azure endpoint URL including the api-version and the deployment name. For example,
|
||||||
|
|
||||||
wss://my-project.openai.azure.com/openai/realtime?api-version=2024-10-01-preview&deployment=my-realtime-deployment
|
wss://my-project.openai.azure.com/openai/realtime?api-version=2024-10-01-preview&deployment=my-realtime-deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user