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:
kkdamowang
2024-03-01 03:25:50 +08:00
committed by GitHub
parent 4c62362eab
commit 6782dac420
2 changed files with 16 additions and 16 deletions

View File

@@ -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