This repo provides some training examples for using the Aleph Alpha API.
The goal of this repo is to provide a set of examples that can be used to easily understand and use the Aleph Alpha API.
In this collection of materials, you will learn how to use the aleph-alpha-client to use Luminous models in python. This is intended to give a structured introduction to the client as well as Luminous model fucntionalities. You can find the exercise Notebooks in the exercises folder and the code templates in boilerplate folder.
To download the material, we use github. You can download the materials by cloning the repository:
git clone https://github.com/Aleph-Alpha/examples.git
Template | Description | Internal Link | Colab Link |
---|---|---|---|
1 | completion | Template 1 | |
2 | search | Template 2 | |
3 | classify | Template 3 | |
4 | AtMan | Template 4 | |
5 | pipeline | Template 5 |
The boilerplate folder contains the code templates for using the API. The templates are structured in the following way:
Template | Description | Internal Link | Colab Link |
---|---|---|---|
1 | Calling the API | Template 1 | |
2 | Simple completion | Template 2 | |
3 | Simple search | Template 3 | |
4 | Symmetric and Asymmetric Search | Template 4 | |
5 | Hidden Embeddings | Template 5 | |
6 | Task-specific Endpoints | Template 6 | |
7 | Simple Gradio extraction app | Template 8 |