(focus-on-observation {:keys [lookup-db lookup-index]})
Get the sentence a the position lookup-index
from the observation.
Get the sentence a the position `lookup-index` from the observation.
(solve-task
{:bosquet/keys [max-steps tools task-prompts] :or {max-steps 5} :as cfg}
task)
Solve a task using ReAct
First agent
parameter specifies which tool will be used to solve the task.
Second context parameter gives initialization data to start working
task
is a quesiton ar task formulation for the agentmax-steps
specifies how many thinking steps agent is allowed to do
it either reaches that number of steps or 'Finish' action, and then terminates.Solve a task using [ReAct](https://react-lm.github.io) First `agent` parameter specifies which tool will be used to solve the task. Second context parameter gives initialization data to start working - `task` is a quesiton ar task formulation for the agent - `max-steps` specifies how many thinking steps agent is allowed to do it either reaches that number of steps or 'Finish' action, and then terminates.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close