Skills require a PandasAI Enterprise license. See Enterprise Features for more details or contact us for production use.
@pai.skill()
decorator, it becomes automatically available across your entire application - whether you’re using pai.chat()
, SmartDataframe
, or Agent
. These custom functions are registered globally and can be used by any PandasAI interface without additional configuration.
Creating a Skill
Skills are created by decorating a Python function with@pai.skill()
. The function should include clear documentation with type hints and a descriptive docstring, as the AI uses this information to understand when and how to use the skill.