mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-09 06:53:59 +00:00
docs: remove duplicate quote in AzureOpenAIEmbeddings doc (#18315)
- **Description:** Remove duplicate quote in AzureOpenAIEmbeddings doc, remove trailing spaces. - **Issue:** No - **Dependencies:** No
This commit is contained in:
@@ -23,18 +23,18 @@ class AzureOpenAIEmbeddings(OpenAIEmbeddings):
|
||||
|
||||
from langchain_openai import AzureOpenAIEmbeddings
|
||||
|
||||
openai = AzureOpenAIEmbeddings(model=""text-embedding-3-large")
|
||||
openai = AzureOpenAIEmbeddings(model="text-embedding-3-large")
|
||||
"""
|
||||
|
||||
azure_endpoint: Union[str, None] = None
|
||||
"""Your Azure endpoint, including the resource.
|
||||
|
||||
Automatically inferred from env var `AZURE_OPENAI_ENDPOINT` if not provided.
|
||||
|
||||
|
||||
Example: `https://example-resource.azure.openai.com/`
|
||||
"""
|
||||
deployment: Optional[str] = Field(default=None, alias="azure_deployment")
|
||||
"""A model deployment.
|
||||
"""A model deployment.
|
||||
|
||||
If given sets the base client URL to include `/deployments/{azure_deployment}`.
|
||||
Note: this means you won't be able to use non-deployment endpoints.
|
||||
@@ -46,7 +46,7 @@ class AzureOpenAIEmbeddings(OpenAIEmbeddings):
|
||||
|
||||
Automatically inferred from env var `AZURE_OPENAI_AD_TOKEN` if not provided.
|
||||
|
||||
For more:
|
||||
For more:
|
||||
https://www.microsoft.com/en-us/security/business/identity-access/microsoft-entra-id.
|
||||
""" # noqa: E501
|
||||
azure_ad_token_provider: Union[Callable[[], str], None] = None
|
||||
|
Reference in New Issue
Block a user