cherry-pick 6e2946e7
This commit is contained in:
parent
086191ae5a
commit
99c2243866
1 changed files with 1 additions and 1 deletions
|
|
@ -814,7 +814,7 @@ async def azure_openai_complete(
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
@wrap_embedding_func_with_attrs(embedding_dim=1536)
|
@wrap_embedding_func_with_attrs(embedding_dim=1536, max_token_size=8192)
|
||||||
async def azure_openai_embed(
|
async def azure_openai_embed(
|
||||||
texts: list[str],
|
texts: list[str],
|
||||||
model: str | None = None,
|
model: str | None = None,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue