mirror of
https://github.com/QuivrHQ/quivr.git
synced 2025-01-05 23:03:53 +03:00
8e29218865
This commit adds the langchain_openai and langchain_anthropic dependencies to the `llm_endpoint.py` file. # Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
65 lines
1.5 KiB
TOML
65 lines
1.5 KiB
TOML
[project]
|
|
name = "quivr-core"
|
|
version = "0.0.13"
|
|
description = "Quivr core RAG package"
|
|
authors = [
|
|
{ name = "Stan Girard", email = "stan@quivr.app" }
|
|
]
|
|
dependencies = [
|
|
"pydantic>=2.8.2",
|
|
"langchain-core>=0.2.38",
|
|
"langchain>=0.2.14",
|
|
"langgraph>=0.2.14",
|
|
"httpx>=0.27.0",
|
|
"rich>=13.7.1",
|
|
"tiktoken>=0.7.0",
|
|
"aiofiles>=23.1.0",
|
|
"langchain-community>=0.2.12",
|
|
"langchain-anthropic>=0.1.23",
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">= 3.11"
|
|
|
|
[project.optional-dependencies]
|
|
all = [
|
|
"unstructured[epub,docx,odt,doc,pptx,ppt,xlsx,md]>=0.15.5",
|
|
"faiss-cpu>=1.8.0.post1",
|
|
"docx2txt>=0.8",
|
|
"megaparse>=0.0.29",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.rye]
|
|
managed = true
|
|
dev-dependencies = [
|
|
"mypy>=1.11.1",
|
|
"pre-commit>=3.8.0",
|
|
"ipykernel>=6.29.5",
|
|
"ruff>=0.6.1",
|
|
"flake8>=7.1.1",
|
|
"flake8-black>=0.3.6",
|
|
"pytest-asyncio>=0.23.8",
|
|
"pytest>=8.3.2",
|
|
"pytest-xdist>=3.6.1",
|
|
"pytest-benchmark>=4.0.0",
|
|
]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["quivr_core"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--tb=short -ra -v"
|
|
filterwarnings = ["ignore::DeprecationWarning"]
|
|
markers = [
|
|
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
|
"base: these tests require quivr-core with extra `base` to be installed",
|
|
"tika: these tests require a tika server to be running",
|
|
"unstructured: these tests require `unstructured` dependency",
|
|
]
|