View Source AI.Agent.Search (fnord v0.4.17)
When AI.Agent.Answers
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.Agent.RelevantFileSections
module, which will identify the aspects of the file that are relevant to the
user's query as well as the AI.Agent.Answers
' search criteria.
This is not a true AI agent, but rather a module that performs the search and
coordinates the use of the AI.Agent.RelevantFileSections
agent to identify
the relevant sections of each of the file results.
Summary
Functions
Performs a concurrent search on behalf of the AI.Agent.Answers
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.Agent.RelevantFileSections
agent, which will identify the relevant
sections of the file.
Functions
Performs a concurrent search on behalf of the AI.Agent.Answers
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.Agent.RelevantFileSections
agent, which will identify the relevant
sections of the file.