refac
This commit is contained in:
1 parent
9bfc414d26
commit
f9c96d03ad
1 file changed
+1
-1
@@ -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 = [
|
||||||
|
|||||||
Reference in new issue
Block a user