Skip to main content

get_all_paths

Function
This function is defined in the paths module.
Get all PraisonAI data paths.

Signature

def get_all_paths() -> Dict[str, Path]

Returns

Returns
Dict[str, Path]
Dictionary mapping path names to Path objects

Usage

>>> from praisonaiagents.paths import get_all_paths
    >>> paths = get_all_paths()
    >>> for name, path in paths.items():
    ...     print(f"{name}: {path}")

Uses

  • get_data_dir
  • get_sessions_dir
  • get_skills_dir
  • get_plugins_dir
  • get_mcp_dir
  • get_docs_dir
  • get_rules_dir
  • get_permissions_dir
  • get_storage_dir
  • get_checkpoints_dir

Source

View on GitHub

praisonaiagents/paths.py at line 332