Installing¶
Requirements¶
Before installing ClientAI, ensure you have the following prerequisites:
- Python: Version 3.9 or newer.
- Core Dependencies: ClientAI has minimal core dependencies, which will be automatically installed.
- Provider-Specific Libraries: Depending on which AI providers you plan to use, you may need to install additional libraries:
- For OpenAI:
openai
library - For Replicate:
replicate
library - For Ollama:
ollama
library
- For OpenAI:
Installing¶
ClientAI offers flexible installation options to suit your needs:
Basic Installation¶
To install the core ClientAI package without any provider-specific dependencies:
Or, if using poetry:
Installation with Specific Providers¶
To install ClientAI with support for specific providers:
pip install clientai[openai] # For OpenAI support
pip install clientai[replicate] # For Replicate support
pip install clientai[ollama] # For Ollama support
Or with poetry:
Full Installation¶
To install ClientAI with support for all providers:
Or with poetry: