Skip to main content

An integration package connecting Abso and LangChain

Project description

langchain-abso

This package contains the LangChain integration with Abso

Installation

pip install -U langchain-abso

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

  • TODO: fill this out

Chat Models

ChatAbso class exposes chat models from Abso.

from langchain_abso import ChatAbso

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

Embeddings

AbsoEmbeddings class exposes embeddings from Abso.

from langchain_abso import AbsoEmbeddings

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

LLMs

AbsoLLM class exposes LLMs from Abso.

from langchain_abso import AbsoLLM

llm = AbsoLLM()
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_abso-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

langchain_abso-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_abso-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for langchain_abso-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f93ba9b22e025ad78d0bfe07ba2f3fe908f81d0e94e5115bc9ee8541d1ad08a
MD5 3ff28fe17989e974c8f3638936ac4d40
BLAKE2b-256 f39e0eb65f67debf233dbace7e312d51e253ff77c415e74f23ecb6b62f93b78d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: langchain_abso-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for langchain_abso-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efd017448933f238aca5d3e0400066c90dd59dfd0434dd082f826d4917f96da6
MD5 0f955ed04cf625f1783d23f9a697eb3a
BLAKE2b-256 3b1bd524906653c91896dd10b91986b702cd04c37f615e3ca45cedae63381d70

See more details on using hashes here.

Supported by

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