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.1.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.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_featherless_ai-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 bb1e68697803572fab72b68dcce01426b9b8385c0f84feaa5d5043789430d2a4
MD5 c54eac8e1592f8a175709409abae8b9a
BLAKE2b-256 0dbe1840086589b5c3424bb0ade744747317ca838ee59c0fdd5b65d9c93285df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_featherless_ai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f68224e7793172ad53dd89381adc086d9be4cbd596804640beb453379ca780c
MD5 03229e3c4add4193d2d604420f9f0027
BLAKE2b-256 414469c77766f3812b41aeeb57d72df48966be7cbf004ba4bb72185c8f14bb86

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