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.3.tar.gz
(4.6 kB
view details)
Built Distribution
rmrkl-0.0.3-py3-none-any.whl
(5.7 kB
view details)
File details
Details for the file rmrkl-0.0.3.tar.gz
.
File metadata
- Download URL: rmrkl-0.0.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f42211a83227eb79765030c46fe221ab2aa5dd37fe4076904e815152bcf63d93 |
|
MD5 | 3c99ae94c285a86543f5d6d1bde9570b |
|
BLAKE2b-256 | 3651cb59e7f0d4806e4bb1d6644c2a8c4303f372fa72648fd6b9daedc6ce5213 |
File details
Details for the file rmrkl-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: rmrkl-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6e38e560ddce2ee6f13412f71480b4c3b7cc7ad881661ceb159566e9fe0cd4 |
|
MD5 | 364fecc4fa10da000e76627e3dfba00a |
|
BLAKE2b-256 | 4b10f22e67f410b877151e987be56a0cc5dee8991005f20abde636fc8888d15d |