Skip to main content

IndexResult

Defined in the indexing module.
AI Agent Result of an indexing operation. Attributes: success: Whether indexing succeeded files_indexed: Number of files indexed files_skipped: Number of files skipped (unchanged) chunks_created: Number of chunks created errors: List of error messages duration_seconds: Time taken for indexing corpus_stats: Stats about the indexed corpus

Properties

bool
No description available.
int
No description available.
int
No description available.
int
No description available.
List[str]
No description available.
float
No description available.
Optional[CorpusStats]
No description available.

Methods

total_files()

Total files processed (indexed + skipped).
  • to_dict: Convert to dictionary.

Source

View on GitHub

praisonaiagents/knowledge/indexing.py at line 139