mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +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,
|
||||
)
|
||||
|
||||
async def async_embedding_function(query, prefix, user):
|
||||
async def async_embedding_function(query, prefix=None, user=None):
|
||||
if isinstance(query, list):
|
||||
# Create batches
|
||||
batches = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue