mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-27 13:22:44 +03:00
8 lines
269 B
Python
8 lines
269 B
Python
from .common import process_file
|
|
from langchain.document_loaders import NotebookLoader
|
|
from fastapi import UploadFile
|
|
|
|
|
|
def process_ipnyb(vector_store, file: UploadFile, stats_db):
|
|
return process_file(vector_store, file, NotebookLoader, "ipynb", stats_db=stats_db)
|