mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
3dbaaf59b2
Adds a template like https://python.langchain.com/docs/modules/agents/how_to/custom_agent_with_tool_retrieval Uses OpenAI functions, LCEL, and FAISS
27 lines
573 B
TOML
27 lines
573 B
TOML
[tool.poetry]
|
|
name = "openai-functions-tool-retrieval-agent"
|
|
version = "0.0.1"
|
|
description = ""
|
|
authors = []
|
|
readme = "README.md"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.8.1,<4.0"
|
|
langchain = ">=0.0.313, <0.1"
|
|
openai = "^0.28.1"
|
|
tiktoken = "^0.5.1"
|
|
faiss-cpu = "^1.7.4"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
langchain-cli = ">=0.0.15"
|
|
fastapi = "^0.104.0"
|
|
sse-starlette = "^1.6.5"
|
|
|
|
[tool.langserve]
|
|
export_module = "openai_functions_tool_retrieval_agent"
|
|
export_attr = "agent_executor"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|