Name | llama-index-agent-lats JSON |
Version |
0.2.1
JSON |
| download |
home_page | None |
Summary | llama-index agent lats integration |
upload_time | 2024-09-13 19:51:01 |
maintainer | None |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.8.1 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Language Agent Tree Search (LATS) Agent
This agent integration implements the Language Agent Tree Search method introduced
in the paper titled "Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models" by Zhou et al. 2023.
We have a full cookbook on using the LATS agent here: https://github.com/run-llama/llama_index/blob/main/docs/docs/examples/agent/lats_agent.ipynb.
Check out the source paper: https://arxiv.org/pdf/2310.04406.pdf
## Usage
LATS is implemented as a `BaseAgentWorker` and as such is used with an `AgentRunner`.
```python
from llama_index.agent.lats import LATSAgentWorker
from llama_index.core.agent import AgentRunner
tools = ...
llm = ...
agent_worker = LATSAgentWorker(tools=tools, llm=llm)
agent = AgentRunner(agent_worker)
agent.chat(...)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-agent-lats",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8.1",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/f2/74/53237b9d7bb222c388f15cca4b08b661caeeb10b5ee15f0ee2453dcac79c/llama_index_agent_lats-0.2.1.tar.gz",
"platform": null,
"description": "# Language Agent Tree Search (LATS) Agent\n\nThis agent integration implements the Language Agent Tree Search method introduced\nin the paper titled \"Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models\" by Zhou et al. 2023.\n\nWe have a full cookbook on using the LATS agent here: https://github.com/run-llama/llama_index/blob/main/docs/docs/examples/agent/lats_agent.ipynb.\n\nCheck out the source paper: https://arxiv.org/pdf/2310.04406.pdf\n\n## Usage\n\nLATS is implemented as a `BaseAgentWorker` and as such is used with an `AgentRunner`.\n\n```python\nfrom llama_index.agent.lats import LATSAgentWorker\nfrom llama_index.core.agent import AgentRunner\n\ntools = ...\nllm = ...\nagent_worker = LATSAgentWorker(tools=tools, llm=llm)\nagent = AgentRunner(agent_worker)\n\nagent.chat(...)\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index agent lats integration",
"version": "0.2.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "faaa9d1f13b4788a120a1191202faaa97db062ccca26c36368a97edd6ec9168d",
"md5": "4337d9648d51760ec033810d330859c5",
"sha256": "707d441ee49af9697cd1f2ff401cb1ec2b459923017ad471e0fb44d5ca7d16c5"
},
"downloads": -1,
"filename": "llama_index_agent_lats-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4337d9648d51760ec033810d330859c5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 6462,
"upload_time": "2024-09-13T19:51:00",
"upload_time_iso_8601": "2024-09-13T19:51:00.356652Z",
"url": "https://files.pythonhosted.org/packages/fa/aa/9d1f13b4788a120a1191202faaa97db062ccca26c36368a97edd6ec9168d/llama_index_agent_lats-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f27453237b9d7bb222c388f15cca4b08b661caeeb10b5ee15f0ee2453dcac79c",
"md5": "379987f65fbde514c94ad9b451aa9fd4",
"sha256": "dd4b0cbe5ad905f86976aa15402fe357e74d67fedd6c5efb1cb94569f44bd7bd"
},
"downloads": -1,
"filename": "llama_index_agent_lats-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "379987f65fbde514c94ad9b451aa9fd4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 5809,
"upload_time": "2024-09-13T19:51:01",
"upload_time_iso_8601": "2024-09-13T19:51:01.790455Z",
"url": "https://files.pythonhosted.org/packages/f2/74/53237b9d7bb222c388f15cca4b08b661caeeb10b5ee15f0ee2453dcac79c/llama_index_agent_lats-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-13 19:51:01",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-agent-lats"
}