dinhquangson commited on
Commit
d721c76
1 Parent(s): 4520e07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -90,7 +90,10 @@ async def create_upload_file(text_field: str, file: UploadFile = File(...), ocr:
90
  # Imports
91
  import time
92
  from haystack import Document, Pipeline
93
- from haystack.components.writers import DocumentWriter
 
 
 
94
  from haystack_integrations.components.retrievers.qdrant import QdrantHybridRetriever
95
  from haystack.document_stores.types import DuplicatePolicy
96
  from haystack_integrations.components.embedders.fastembed import (
 
90
  # Imports
91
  import time
92
  from haystack import Document, Pipeline
93
+ from haystack.components.writers import DocumentWriter
94
+ from haystack.components.preprocessors import DocumentSplitter, DocumentCleaner
95
+ from haystack.components.joiners import DocumentJoiner
96
+
97
  from haystack_integrations.components.retrievers.qdrant import QdrantHybridRetriever
98
  from haystack.document_stores.types import DuplicatePolicy
99
  from haystack_integrations.components.embedders.fastembed import (