2023-10-28 15:31:12 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "rag-redis"
|
|
|
|
version = "0.0.1"
|
|
|
|
description = "Run a RAG app backed by OpenAI, HuggingFace, and Redis as a vector database"
|
2023-10-31 17:19:15 +00:00
|
|
|
authors = [
|
|
|
|
"Tyler Hutcherson <tyler.hutcherson@redis.com>",
|
|
|
|
"Sam Partee <sam.partee@redis.com>",
|
|
|
|
]
|
2023-10-28 15:31:12 +00:00
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2023-11-07 23:15:18 +00:00
|
|
|
python = ">=3.9,<3.13"
|
2023-10-31 17:19:15 +00:00
|
|
|
langchain = ">=0.0.325"
|
2023-10-28 15:31:12 +00:00
|
|
|
fastapi = "^0.104.0"
|
|
|
|
sse-starlette = "^1.6.5"
|
2023-11-17 01:10:08 +00:00
|
|
|
openai = "<2"
|
2023-10-28 15:31:12 +00:00
|
|
|
sentence-transformers = "2.2.2"
|
|
|
|
redis = "5.0.1"
|
|
|
|
tiktoken = "0.5.1"
|
|
|
|
pdf2image = "1.16.3"
|
2023-10-31 17:19:15 +00:00
|
|
|
|
|
|
|
[tool.poetry.dependencies.unstructured]
|
|
|
|
version = "^0.10.27"
|
|
|
|
extras = [
|
|
|
|
"pdf",
|
|
|
|
]
|
2023-10-28 15:31:12 +00:00
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
|
|
poethepoet = "^0.24.1"
|
2023-11-03 20:15:29 +00:00
|
|
|
langchain-cli = ">=0.0.15"
|
2023-10-31 17:19:15 +00:00
|
|
|
|
2023-10-28 15:31:12 +00:00
|
|
|
[tool.langserve]
|
|
|
|
export_module = "rag_redis.chain"
|
|
|
|
export_attr = "chain"
|
|
|
|
|
2023-11-22 06:41:12 +00:00
|
|
|
[tool.templates-hub]
|
|
|
|
use-case = "rag"
|
|
|
|
author = "Redis"
|
2023-11-30 20:22:13 +00:00
|
|
|
integrations = ["OpenAI", "Redis", "HuggingFace"]
|
2023-11-22 06:41:12 +00:00
|
|
|
tags = ["vectordbs"]
|
|
|
|
|
2023-10-28 15:31:12 +00:00
|
|
|
[tool.poe.tasks.start]
|
2023-10-31 17:19:15 +00:00
|
|
|
cmd = "uvicorn langchain_cli.dev_scripts:create_demo_server --reload --port $port --host $host"
|
2023-10-28 15:31:12 +00:00
|
|
|
args = [
|
2023-10-31 17:19:15 +00:00
|
|
|
{ name = "port", help = "port to run on", default = "8000" },
|
|
|
|
{ name = "host", help = "host to run on", default = "127.0.0.1" },
|
2023-10-28 15:31:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[build-system]
|
2023-10-31 17:19:15 +00:00
|
|
|
requires = [
|
|
|
|
"poetry-core",
|
|
|
|
]
|
2023-10-28 15:31:12 +00:00
|
|
|
build-backend = "poetry.core.masonry.api"
|