chore: format
This commit is contained in:
1 parent
f6f8c08cb0
commit
e41a2682f5
56 files changed
+355
-29
No files matched your search
@@ -634,7 +634,9 @@ async def chat_completion_files_handler(
|
||||
lambda: get_sources_from_files(
|
||||
files=files,
|
||||
queries=queries,
|
||||
embedding_function=lambda query: request.app.state.EMBEDDING_FUNCTION(query,user=user),
|
||||
embedding_function=lambda query: request.app.state.EMBEDDING_FUNCTION(
|
||||
query, user=user
|
||||
),
|
||||
k=request.app.state.config.TOP_K,
|
||||
reranking_function=request.app.state.rf,
|
||||
r=request.app.state.config.RELEVANCE_THRESHOLD,
|
||||
|
||||
Reference in new issue
Block a user