mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac
This commit is contained in:
parent
9bfc414d26
commit
f9c96d03ad
1 changed files with 1 additions and 1 deletions
|
|
@ -813,7 +813,7 @@ def get_embedding_function(
|
||||||
azure_api_version=azure_api_version,
|
azure_api_version=azure_api_version,
|
||||||
)
|
)
|
||||||
|
|
||||||
async def async_embedding_function(query, prefix, user):
|
async def async_embedding_function(query, prefix=None, user=None):
|
||||||
if isinstance(query, list):
|
if isinstance(query, list):
|
||||||
# Create batches
|
# Create batches
|
||||||
batches = [
|
batches = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue