mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +03:00
71edca572f
# Description closes #3056. closes #3198 - Create knowledge route - Get knowledge route - List knowledge route : accepts knowledge_id | None. None to list root knowledge for use - Update (patch) knowledge to rename and move knowledge - Remove knowledge: Cascade if parent_id in knowledge and cleanup storage - Link storage upload to knowledge_service - Relax sha1 file constraint - Tests to all repository / service --------- Co-authored-by: Stan Girard <girard.stanislas@gmail.com> |
||
---|---|---|
.. | ||
examples | ||
quivr_core | ||
scripts | ||
tests | ||
.gitignore | ||
.python-version | ||
CHANGELOG.md | ||
Dockerfile.test | ||
pyproject.toml | ||
README.md | ||
tox.ini |
quivr-core package
The RAG of Quivr.com
Contributors
Requirements
- Install poetry. Recommand the
pipx
install - (Optional) Install (
uv
)[https://github.com/astral-sh/uv] - git clone
quivr
git clone git@github.com:QuivrHQ/quivr.git
cd quivr/backend/core
-
Create virtual environement with your preferred tool
uv venv
-
Install
base
quivr-core environmentpoetry install -E base --with dev,test
-
Install pre-commit
pre-commit install
-
Run example
python examples/simple_question.py
Backend
- Install poetry. Recommand the
pipx
install - (Optional) Install (
uv
)[https://github.com/astral-sh/uv] - Clone
quivr
cd quivr/backend/
-
Create virtual environement with your preferred tool
uv venv
-
Install quivr-core monorepo
poetry install
-
Copy
.env.example
to.env
and modify env variables : step 2 : (https://docs.quivr.app/install#60-seconds-installation) -
Run backend-api
LOG_LEVEL=debug uvicorn quivr_api.main:app --log-level debug --reload --host 0.0.0.0 --port 5050 --workers 1