Liking cljdoc? Tell your friends :D

bosquet.agent.react


focus-on-observationclj

(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.
sourceraw docstring

solve-taskclj

(solve-task {:bosquet/keys [_max-steps tools task-prompts]} 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 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.
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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close