Skip to main content

get_corpus_stats

Method
This is a method of the Knowledge class in the knowledge module.
Get statistics about the indexed corpus.

Signature

def get_corpus_stats() -> Any

Returns

Returns
Any
CorpusStats with file count, chunk count, and strategy recommendation

Uses

  • CorpusStats

Source

View on GitHub

praisonaiagents/knowledge/knowledge.py at line 966