This repository contains the source code to discover how to use OVHloud AI Endpoints.
The repository have a main branch with the all coded examples and other branches with the step by step of the tutorials.
The special branch live-coding is used to do live coding sessions.
At any moment you can switch to another branch to go to a specific step of the tutorial (or merge the desired branch into the live-coding branch branch).
A .env file is needed in order to run the examples. You can copy the .env.example file and rename it as .env.
The repository contains VSCode snippets to help you with the code. One file by language:
python.code-snippetsfor Pythonjavascript.code-snippetsfor JavaScriptjava.code-snippetsfor Ja
Each of this files is created using the tools snippets. Here is an example of usage:
snippets generate \
--input ./.vscode/python-snippets.yml \
--output ./.vscode/python.code-snippetsCreate a virtual environment and install the dependencies:
cd python
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtcd javascript
npm installcd java
mvn clean compile