llama-index agent lats integration
Project description
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.
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.
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(...)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_agent_lats-0.3.2.tar.gz.
File metadata
- Download URL: llama_index_agent_lats-0.3.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8236b24d3be76b4102a95154e6c5b687b736a0803b8a69a244ce3baf39b2bb7
|
|
| MD5 |
0676a47bea07c5bcdf68c08d2b7f62fd
|
|
| BLAKE2b-256 |
bb10fa4f4a91d4fe964f570ccae27a59fa102c07ffda5eab64094845d3b142f2
|
File details
Details for the file llama_index_agent_lats-0.3.2-py3-none-any.whl.
File metadata
- Download URL: llama_index_agent_lats-0.3.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ee96ecba823bb691aa016e66ef4d1dd2ff74b11b81090a5ab62861f31566820
|
|
| MD5 |
9ae220d91b83a1058bee94b45a1fff86
|
|
| BLAKE2b-256 |
4f78163eee67e6f7b35efb16c5d51f2fc25afdf69129b3a03003eb547698d826
|