You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs/integrations/aleph_alpha.md

1.1 KiB

Aleph Alpha

Aleph Alpha was founded in 2019 with the mission to research and build the foundational technology for an era of strong AI. The team of international scientists, engineers, and innovators researches, develops, and deploys transformative AI like large language and multimodal models and runs the fastest European commercial AI cluster.

The Luminous series is a family of large language models.

Installation and Setup

pip install aleph-alpha-client

You have to create a new token. Please, see instructions.

from getpass import getpass

ALEPH_ALPHA_API_KEY = getpass()

LLM

See a usage example.

from langchain.llms import AlephAlpha

Text Embedding Models

See a usage example.

from langchain.embeddings import AlephAlphaSymmetricSemanticEmbedding, AlephAlphaAsymmetricSemanticEmbedding