mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-04 12:39:32 +00:00
Tool Retrieval Template (#13104)
Adds a template like https://python.langchain.com/docs/modules/agents/how_to/custom_agent_with_tool_retrieval Uses OpenAI functions, LCEL, and FAISS
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
[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"
|
Reference in New Issue
Block a user