chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2025-02-05 00:07:45 -08:00
1 parent f6f8c08cb0
commit e41a2682f5
56 files changed
+355 -29

No files matched your search

+3 -1
View File
@@ -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,