Skip to main content

An integration package connecting FeatherlessAi and LangChain

Project description

langchain-featherless-ai

This package contains the LangChain integration with FeatherlessAi

Installation

pip install -U langchain-featherless-ai

And you should configure credentials by setting the following environment variables:

  • TODO: fill this out

Chat Models

ChatFeatherlessAi class exposes chat models from FeatherlessAi.

from langchain_featherless_ai import ChatFeatherlessAi

llm = ChatFeatherlessAi()
llm.invoke("Sing a ballad of LangChain.")

Embeddings

FeatherlessAiEmbeddings class exposes embeddings from FeatherlessAi.

from langchain_featherless_ai import FeatherlessAiEmbeddings

embeddings = FeatherlessAiEmbeddings()
embeddings.embed_query("What is the meaning of life?")

LLMs

FeatherlessAiLLM class exposes LLMs from FeatherlessAi.

from langchain_featherless_ai import FeatherlessAiLLM

llm = FeatherlessAiLLM()
llm.invoke("The meaning of life is")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_featherless_ai-0.1.2.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_featherless_ai-0.1.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file langchain_featherless_ai-0.1.2.tar.gz.

File metadata

  • Download URL: langchain_featherless_ai-0.1.2.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.3 Windows/10

File hashes

Hashes for langchain_featherless_ai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 14b0d455a26480ffc1ac7e2dd003acca0d8e7122fe22dea560978274fe1ee850
MD5 0b41fd1aedbd59d165523099e255984f
BLAKE2b-256 235c483ec90d0f2282a9d62e891a95507df8f112375757419f622ab8344911f3

See more details on using hashes here.

File details

Details for the file langchain_featherless_ai-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_featherless_ai-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca2d2891186e3f5bf72adfcd1bedd1833064926fef8ab436990116599e322dcf
MD5 ccb856c39f7ec83d7b938cb1a4ce3539
BLAKE2b-256 f9181637cd7b4064e5836f142faaf4cbe09fc03ef13fa197b2d54077ac2e5af1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page