Package com.tnsai.rag.files
package com.tnsai.rag.files
Keyword search over the text files an agent writes during a run, and the line format of its
.history and .log files.
AgentRecordFormat: the MDC keys, logback patterns and file extensions a host writes the files with. Every line carries a conversation field.RecordParser: reads that format back.IncrementalTextFilesRetriever: aRetrievalEngine.Retrieverover one agent'sepisode-N/<agent>/folders that indexes only what was appended since its last search.RecordInterpreter: the host's reading of its own records as notes, messages told or said, or records left out.
- Since:
- 0.18.6
-
ClassDescriptionThe format of the lines in an agent's
.historyand.logfiles: the MDC keys, the logback patterns that write them and the file extensions.Searches what one agent has written in a run: every text file under its<run>/episode-N/<agent>/folders, ranked by keyword relevance (BM25).Builds anIncrementalTextFilesRetriever.Which episodes a search covers.TellsIncrementalTextFilesRetrieverwhat a record in an agent's files is: a note, a message the agent was told or said, or something left out.What a record is.What a record is.Reads the first line of a record in an agent's.historyor.logfile, in the grammarAgentRecordFormat's patterns write.The first line of a record.