View Source AI.SearchAgent (fnord v0.4.14)
When AI.AnswersAgent
receives a tool call request from the assistant, it
will use this module to perform the search using Search
. The contents of
the files matched are then sent to the AI.RelevantFileSections
module,
which will identify the aspects of the file that are relevant to the user's
query as well as the AI.AnswersAgent
' search criteria.
Summary
Functions
Performs a concurrent search on behalf of the AI.AnswersAgent
agent. It
uses the Search
module to search the database for matches to the search
query. Then, it concurrently feeds the contents of each matched file to the
AI.RelevantFileSections
agent, which will identify the relevant sections of
the file.
Functions
Performs a concurrent search on behalf of the AI.AnswersAgent
agent. It
uses the Search
module to search the database for matches to the search
query. Then, it concurrently feeds the contents of each matched file to the
AI.RelevantFileSections
agent, which will identify the relevant sections of
the file.