2023-10-26 01:47:42 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "rag-semi-structured"
|
|
|
|
version = "0.1.0"
|
2023-11-22 06:41:12 +00:00
|
|
|
description = "RAG on semi-structured "
|
2023-10-31 17:19:15 +00:00
|
|
|
authors = [
|
|
|
|
"Lance Martin <lance@langchain.dev>",
|
|
|
|
]
|
2023-10-26 01:47:42 +00:00
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2024-03-13 01:25:45 +00:00
|
|
|
python = ">=3.9,<4"
|
2024-01-07 02:31:46 +00:00
|
|
|
langchain = "^0.1"
|
2023-10-26 01:47:42 +00:00
|
|
|
tiktoken = ">=0.5.1"
|
|
|
|
chromadb = ">=0.4.14"
|
2023-11-17 01:10:08 +00:00
|
|
|
openai = "<2"
|
2023-10-26 01:47:42 +00:00
|
|
|
unstructured = ">=0.10.19"
|
|
|
|
pdf2image = ">=1.16.3"
|
2023-11-03 20:15:29 +00:00
|
|
|
pdfminer = "^20191125"
|
fix: to rag-semi-structured template (#14568)
**Description:**
Fixes to rag-semi-structured template.
- Added required libraries
- pdfminer was causing issues when installing with pip. pdfminer.six
works best
- Changed the pdf name for demo from llama2 to llava
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant
maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR
gets announced, and you'd like a mention, we'll gladly shout you out!
Please make sure your PR is passing linting and testing before
submitting. Run `make format`, `make lint` and `make test` to check this
locally.
See contribution guidelines for more information on how to write/run
tests, lint, etc:
https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in `docs/extras`
directory.
If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
-->
2023-12-12 23:44:35 +00:00
|
|
|
opencv-python = "^4.8.1.78"
|
|
|
|
pandas = "^2.1.4"
|
|
|
|
pytesseract = "^0.3.10"
|
|
|
|
pdfminer-six = "^20221105"
|
|
|
|
unstructured-pytesseract = "^0.3.12"
|
|
|
|
unstructured-inference = "^0.7.18"
|
2023-11-03 20:15:29 +00:00
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
|
|
langchain-cli = ">=0.0.15"
|
2023-10-26 01:47:42 +00:00
|
|
|
|
|
|
|
[tool.langserve]
|
|
|
|
export_module = "rag_semi_structured"
|
|
|
|
export_attr = "chain"
|
|
|
|
|
2023-11-22 06:41:12 +00:00
|
|
|
[tool.templates-hub]
|
|
|
|
use-case = "rag"
|
|
|
|
author = "LangChain"
|
|
|
|
integrations = ["OpenAI", "Chroma", "Unstructured"]
|
|
|
|
tags = ["vectordbs"]
|
|
|
|
|
2023-10-26 01:47:42 +00:00
|
|
|
[build-system]
|
2023-10-31 17:19:15 +00:00
|
|
|
requires = [
|
|
|
|
"poetry-core",
|
|
|
|
]
|
2023-10-26 01:47:42 +00:00
|
|
|
build-backend = "poetry.core.masonry.api"
|