mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user