File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 OPENAI_API_KEY : this-is-a-test-key
4040 run : |
4141 sudo apt-get update
42- sudo apt-get install -y libmagic-dev poppler-utils libreoffice tesseract-ocr pandoc
4342 cd core
4443 rye test -p quivr-core
Original file line number Diff line number Diff line change @@ -8,12 +8,6 @@ RUN apt-get clean && apt-get update && apt-get install -y \
88 autoconf \
99 automake \
1010 build-essential \
11- # Additional dependencies for document handling
12- libmagic-dev \
13- tesseract-ocr \
14- poppler-utils \
15- libreoffice \
16- pandoc && \
1711 rm -rf /var/lib/apt/lists/*
1812
1913# Set the working directory
Original file line number Diff line number Diff line change @@ -12,6 +12,18 @@ This project is licensed under the Apache 2.0 License
1212pip install quivr-core
1313```
1414
15+ ### Use with [ MegaParse] ( https://github.com/QuivrHQ/MegaParse )
16+
17+ By ** default** megaparse-core uses MegaParse to parse files, in order to use it we need to either :
18+
19+ ** Use Quivr hosted Megaparse API**
20+ * Send email to ** admin@quivr.app ** with object : "[ Megaparse] API Key Request"
21+ * Add ``` MEGAPARSE_API_KEY = md-... ``` in your * .env* file
22+
23+ ** Use self hosted Megaparse API**
24+ * Clone https://github.com/QuivrHQ/MegaParse
25+ * Run the api with ``` make dev ``` in ``` cd MegaParse ```
26+ * Back in quivr-core add ``` MEGAPARSE_URL = http://localhost:8000 ``` in your env variables
1527
1628
1729
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ markers = [
6060 " slow: marks tests as slow (deselect with '-m \" not slow\" ')" ,
6161 " base: these tests require quivr-core with extra `base` to be installed" ,
6262 " tika: these tests require a tika server to be running" ,
63- " unstructured: these tests require `unstructured` dependency" ,
6463]
6564
6665[[tool .mypy .overrides ]]
You can’t perform that action at this time.
0 commit comments