跳到主要內容
Open on GitHub

Aleph Alpha

Aleph Alpha 於 2019 年成立,使命是研究和建構強人工智慧時代的基礎技術。這個由國際科學家、工程師和創新者組成的團隊,研究、開發和部署變革性 AI,例如大型語言和多模態模型,並運行歐洲最快的商業 AI 叢集。

Luminous 系列 是一系列大型語言模型。

安裝與設定

pip install aleph-alpha-client

您必須建立新的權杖。請參閱說明

from getpass import getpass

ALEPH_ALPHA_API_KEY = getpass()

LLM

請參閱使用範例

from langchain_community.llms import AlephAlpha
API 參考文件:AlephAlpha

文字嵌入模型

請參閱使用範例

from langchain_community.embeddings import AlephAlphaSymmetricSemanticEmbedding, AlephAlphaAsymmetricSemanticEmbedding

此頁面是否對您有幫助?