Mark Indexed • AI Agent SDK
mark_indexed: Mark file as indexed.
mark_indexed
Method
</div>
This is a method of the FileTracker class in the indexing module.
Mark file as indexed.
Signature
def mark_indexed(filepath: str, info: Dict[str, Any], memory_ids: Optional[List[str]]) -> NoneParameters
ParamField
strPath to file
ParamField
Dict[str, Any]File info from get_file_info()
ParamField
OptionalOptional list of vector-store memory IDs produced for this file, so a later re-index can delete stale chunks before re-adding.
Source
View on GitHubpraisonaiagents/knowledge/indexing.py at line 365