Add Experimental Agent Component (#1705)
* Update langflow base prompts API utils and add ToolCallingAgentComponent * Update return type annotations in AzureOpenAIModel.py and ChatLiteLLMModel.py * Update langchainhub package version to 0.1.15 * Update langflow base prompts API utils and add ToolCallingAgentComponent * Add AgentComponent to langflow experimental components * Update prompt variable name to user_prompt in ToolCallingAgentComponent.py * Update prompt variable name to system_message in AgentComponent.py * Update system_message variable name in XMLAgentComponent and ToolCallingAgentComponent * Update prompt variable name to user_prompt in ToolCallingAgentComponent.py
This commit is contained in:
parent
dd7e5a7ab5
commit
42e88b7a23
13 changed files with 695 additions and 191 deletions
31
src/backend/base/poetry.lock
generated
31
src/backend/base/poetry.lock
generated
|
|
@ -1144,6 +1144,21 @@ langchain-core = ">=0.1.28,<0.2.0"
|
|||
[package.extras]
|
||||
extended-testing = ["lxml (>=5.1.0,<6.0.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "langchainhub"
|
||||
version = "0.1.15"
|
||||
description = "The LangChain Hub API client"
|
||||
optional = false
|
||||
python-versions = ">=3.8.1,<4.0"
|
||||
files = [
|
||||
{file = "langchainhub-0.1.15-py3-none-any.whl", hash = "sha256:89a0951abd1db255e91c6d545d092a598fc255aa865d1ffc3ce8f93bbeae60e7"},
|
||||
{file = "langchainhub-0.1.15.tar.gz", hash = "sha256:fa3ff81a31946860f84c119f1e2f6b7c7707e2bd7ed2394a7313b286d59f3bda"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
requests = ">=2,<3"
|
||||
types-requests = ">=2.31.0.2,<3.0.0.0"
|
||||
|
||||
[[package]]
|
||||
name = "langsmith"
|
||||
version = "0.1.47"
|
||||
|
|
@ -2568,6 +2583,20 @@ rich = ">=10.11.0"
|
|||
shellingham = ">=1.3.0"
|
||||
typing-extensions = ">=3.7.4.3"
|
||||
|
||||
[[package]]
|
||||
name = "types-requests"
|
||||
version = "2.31.0.20240406"
|
||||
description = "Typing stubs for requests"
|
||||
optional = false
|
||||
python-versions = ">=3.8"
|
||||
files = [
|
||||
{file = "types-requests-2.31.0.20240406.tar.gz", hash = "sha256:4428df33c5503945c74b3f42e82b181e86ec7b724620419a2966e2de604ce1a1"},
|
||||
{file = "types_requests-2.31.0.20240406-py3-none-any.whl", hash = "sha256:6216cdac377c6b9a040ac1c0404f7284bd13199c0e1bb235f4324627e8898cf5"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
urllib3 = ">=2"
|
||||
|
||||
[[package]]
|
||||
name = "typing-extensions"
|
||||
version = "4.11.0"
|
||||
|
|
@ -2861,4 +2890,4 @@ local = []
|
|||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = ">=3.10,<3.12"
|
||||
content-hash = "11b7861d29ff2ca23defcb03faf670c409c639c7b4ee81455c0c1fea50ea54e9"
|
||||
content-hash = "4baea3d7c34ad33205fbb00a9da20b4c696b9487a2d62dada9babf1d21ed2dba"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue