Skip to content

Commit a80b556

Browse files
committed
add: readme & fix: remove dep
1 parent 190d971 commit a80b556

4 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/backend-core-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ jobs:
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

core/Dockerfile.test

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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

core/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ This project is licensed under the Apache 2.0 License
1212
pip 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

core/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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]]

0 commit comments

Comments
 (0)