3 Application Installation
This topic describes the application installation.
AI Foundation services rely on applications built with Python. These applications will be delivered as whl (wheel) files. This wheel file will install all the necessary implementation files, excluding the dependencies.
All necessary dependencies must be installed individually (see the steps below). It is advisable to install the .whl files and their dependencies in a new virtual environment using pip to avoid impacting other operations or applications on the system.
Follow the steps below to install the applications and their dependencies:
- Create a virtual environment
- a. python3.12 -m venv <venv_name>
- b. source venv/bin/activate
- Run the following command to upgrade pip to the latest version. a. pip install --upgrade pip
- Use the below command to install the application wheel package provided, example
- pip install cmc_aif_access_services-{version}-py3-none-any.whl
- pip install cmc_aif_core-{version}-py3-none-any.whl
- pip install cmc_aif_data_ingestion_services-{version}-py3-none-any.whl
- pip install cmc_aif_embedding_services-{version}-py3-none-any.whl
- pip install cmc_aif_generate_services-{version}-py3-none-any.whl
- pip install cmc_aif_rag_services-{version}-py3-none-any.whl