templates: Add rag lantern template (#16523)

Replace this entire comment with:
  - **Description:** Added a template for lantern rag usage.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
gustavo-yt
2024-03-18 20:34:46 -06:00
committed by GitHub
parent 516cc44b3f
commit 7c26ef88a1
7 changed files with 2306 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
[tool.poetry]
name = "rag-lantern"
version = "0.1.0"
description = "RAG using Lantern retriver"
authors = [
"Gustavo Reyes <gustavo@lantern.dev>",
]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain = "^0.1"
openai = "<2"
tiktoken = "^0.5.1"
rag-lantern = {path = "packages/rag-lantern", develop = true}
[tool.poetry.group.dev.dependencies]
langchain-cli = ">=0.0.15"
[tool.poetry.group.dev.dependencies.python-dotenv]
extras = [
"cli",
]
version = "^1.0.0"
[tool.langserve]
export_module = "rag_lantern.chain"
export_attr = "chain"
[tool.templates-hub]
use-case = "rag"
author = "Lantern"
integrations = ["OpenAI", "Lantern"]
tags = ["vectordbs"]
[build-system]
requires = [
"poetry-core",
]
build-backend = "poetry.core.masonry.api"