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.0.tar.gz (10.8 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.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_featherless_ai-0.1.0.tar.gz
  • Upload date:
  • Size: 10.8 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.0.tar.gz
Algorithm Hash digest
SHA256 008bf570d2a36fa6dbb9f4d23c7adc6c97b46516c9db098b412e4c0cc774a466
MD5 d732245537c3d84762ae58d5ecc7d5d7
BLAKE2b-256 3ec21597db688c8eede2a41d9bfb167709bc0c48cb603267941b402166bf58e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_featherless_ai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3f84f89d8d5d13777690ef0bf3b1ed6efdd3712b14fdacef42e8d8700bce340
MD5 87c0074a2dd65f992db968ab1926115d
BLAKE2b-256 c35a6f80b5828f6cf4430cf26252bcf42a6d06d321fc7a50aac55742a7d6fee3

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