(find-action step agent-mind)
Read agent's thoughts and actions. Find the action in its cycle
of thinking.
Read agent's thoughts and actions. Find the action in its `cycle` of thinking.
(lookup-index query content)
Construct a query
lookup index for the content
.
It will return a seqence of triplets.
[sentence-index has-query sentence]
where sentence-index
is the index of the sentence in the content
,
has-query
is a boolean indicating if the sentence contains the query
,
sentence
is the sentence itself.
Construct a `query` lookup index for the `content`. It will return a seqence of triplets. ``` [sentence-index has-query sentence] ``` where `sentence-index` is the index of the sentence in the `content`, `has-query` is a boolean indicating if the sentence contains the `query`, `sentence` is the sentence itself.
(split-sentences text)
Split text
into sentences.
Split `text` into sentences.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close