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

python
def mark_indexed(filepath: str, info: Dict[str, Any], memory_ids: Optional[List[str]]) -> None

Parameters

ParamField str

Path to file

ParamField Dict[str, Any]

File info from get_file_info()

ParamField Optional

Optional 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 GitHub

praisonaiagents/knowledge/indexing.py at line 365