Get Project Sessions Dir • AI Agent SDK

get_project_sessions_dir: Get project-level sessions directory.

get_project_sessions_dir

Function

</div>

This function is defined in the paths module.

Get project-level sessions directory.

Signature

python
def get_project_sessions_dir(project_path: Optional[Union[str, Path]]) -> Path

Parameters

ParamField Optional

Project root (defaults to cwd)

Returns

ResponseField Path

Path to .praisonai/sessions/ in project

Uses

  • get_project_data_dir

Source

View on GitHub

praisonaiagents/paths.py at line 453


Related Documentation