Clarifai Python SDK is the official Python client for the Clarifai AI platform, providing computer vision and natural language processing capabilities. The SDK includes both a Python API and a CLI tool for model operations, compute orchestration, and data management.
Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.
This repository includes the following specialized skills to help you work effectively:
- bootstrap-setup.md - Environment setup, installation, and configuration
- build-test.md - Build, lint, format, and test instructions
- code-structure.md - Repository structure and key files
- cli-operations.md - CLI commands and usage
- development-tasks.md - Common development workflows
- troubleshooting.md - Solutions to common issues
Each skill is located in the .github/skills/ directory and contains detailed instructions for specific aspects of working with the Clarifai Python SDK.
Before making changes:
- Review the relevant skills for the area you're working on
- Understand the repository structure (see code-structure.md)
- Set up your development environment (see bootstrap-setup.md)
- Run linting and tests to establish a baseline (see build-test.md)
When making changes:
- Make minimal, focused changes
- Lint and format your code (
ruff check . --fixandruff format .) - Test your changes with relevant validation scenarios
- Update documentation if needed
For additional details, refer to the individual skill files in .github/skills/.