mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
7e4dbb26a8
Adding the example I build for the Cohere hackathon. It can: use a vector database to reccommend books <img width="840" alt="image" src="https://github.com/langchain-ai/langchain/assets/144115527/96543a18-217b-4445-ab4b-950c7cced915"> Use a prompt template to provide information about the library <img width="834" alt="image" src="https://github.com/langchain-ai/langchain/assets/144115527/996c8e0f-cab0-4213-bcc9-9baf84f1494b"> Use Cohere RAG to provide grounded results <img width="822" alt="image" src="https://github.com/langchain-ai/langchain/assets/144115527/7bb4a883-5316-41a9-9d2e-19fd49a43dcb"> --------- Co-authored-by: Erick Friis <erick@langchain.dev>
34 lines
674 B
TOML
34 lines
674 B
TOML
[tool.poetry]
|
|
name = "cohere-librarian"
|
|
version = "0.0.1"
|
|
description = "Get started with a simple template that acts as a librarian"
|
|
authors = []
|
|
readme = "README.md"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.8.1,<4.0"
|
|
langchain = ">=0.0.325"
|
|
cohere = "^4.37"
|
|
chromadb = "^0.4.18"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
langchain-cli = ">=0.0.15"
|
|
fastapi = "^0.104.0"
|
|
sse-starlette = "^1.6.5"
|
|
|
|
[tool.langserve]
|
|
export_module = "cohere_librarian"
|
|
export_attr = "chain"
|
|
|
|
[tool.templates-hub]
|
|
use-case = "chatbot"
|
|
author = "Cohere"
|
|
integrations = ["Cohere"]
|
|
tags = ["getting-started"]
|
|
|
|
[build-system]
|
|
requires = [
|
|
"poetry-core",
|
|
]
|
|
build-backend = "poetry.core.masonry.api"
|