Skip to main content

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

llama_index_agent_lats-0.3.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_agent_lats-0.3.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_agent_lats-0.3.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_agent_lats-0.3.1.tar.gz
Algorithm Hash digest
SHA256 79c02d921dbd971002b7ff335c2238db6779e76598bf6273df776b55c8d7e794
MD5 b3443791ac58cb3131b5efa8cdb6d500
BLAKE2b-256 b8482abf387b64cbc615874a8dbc9013019fcf3a8e6d43e5ac8e429dc58d6975

See more details on using hashes here.

File details

Details for the file llama_index_agent_lats-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_agent_lats-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0054a194c31c3843d96cb21fa2fb3064697680f8969fc62c24757aba2532138f
MD5 fbde50afa2dd44baa3d341637865eb23
BLAKE2b-256 90d748333e280b8cc45f83c155d8cc5d3b7554d164e70db0ddda0d67e86e2145

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page