Robust Modular Reasoning, Knowledge and Language agent that uses tools and retries on failure
Project description
robust-mrkl
A langchain agent that retries and utilizes a system prompt
Install
pip install rmrkl
Usage
from rmrkl import ChatZeroShotAgent, RetryAgentExecutor
tools = ...
llm = ..
agent = RetryAgentExecutor.from_agent_and_tools(
tools=tools,
agent=ChatZeroShotAgent.from_llm_and_tools(llm, tools),
verbose=True,
)
agent.run(...)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rmrkl-0.0.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
rmrkl-0.0.1-py3-none-any.whl
(5.1 kB
view hashes)