Skip to content

Aleph-Alpha/examples

Repository files navigation

Luminous templates


This repo provides some training examples for using the Aleph Alpha API.

Goal

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.

Getting Started with the Aleph Alpha Luminous Python 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.

Downloading the materials

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

Overview

Bootcamp

Template Description Internal Link Colab Link
1 completion Template 1 Open In Colab
2 search Template 2 Open In Colab
3 classify Template 3 Open In Colab
4 AtMan Template 4 Open In Colab
5 pipeline Template 5 Open In Colab

Boilerplate

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 Open In Colab
2 Simple completion Template 2 Open In Colab
3 Simple search Template 3 Open In Colab
4 Symmetric and Asymmetric Search Template 4 Open In Colab
5 Hidden Embeddings Template 5 Open In Colab
6 Task-specific Endpoints Template 6 Open In Colab
7 Simple Gradio extraction app Template 8 Open In Colab