mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-27 21:32:24 +03:00
e0de23e24d
* feat(llm): update
* feat(singlebrain): added new table with user-id
* feat(user): get user from email
* feat(user_id): added search
* ✨ add user_id to most endpoints
* docs(readme): new script
---------
Co-authored-by: gozineb <zinebe@theodo.fr>
9 lines
289 B
Python
9 lines
289 B
Python
from fastapi import UploadFile
|
|
from langchain.document_loaders.epub import UnstructuredEPubLoader
|
|
|
|
from .common import process_file
|
|
|
|
|
|
def process_epub(file: UploadFile, enable_summarization, user):
|
|
return process_file(file, UnstructuredEPubLoader, ".epub", enable_summarization, user)
|