Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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