Skip to main content

A reusable collection of tools and implementations for Langchain

Project description

Langchain B12

This repo hosts a collection of custom LangChain components.

  • ChatGenAI converts a sequence of LangChain messages to Google GenAI Content objects and vice versa.

Installation

To install this package, run

pip install langchain-b12

Some components rely on additional packages that may be installed as extras. For example, to use the Google chatmodel ChatGenAI, you can run

pip install langchain-b12[google]

Components

The repo contains these components:

  • ChatGenAI: An implementation of BaseChatModel that uses the google-genai package. Note that langchain-google-genai and langchain-google-vertexai exist, but neither uses the latest and recommended google-genai package.
  • GenAIEmbeddings: An implementation of Embeddings that uses the google-genai package.

Comments

This repo exists for easy reuse and extension of custom LangChain components. When appropriate, we will create PRs to merge these components directly into LangChain.

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_b12-0.1.0.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

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

langchain_b12-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_b12-0.1.0.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for langchain_b12-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ebde3bdd8d6f064d0656316c80ece4aa8e461b664bb54d3ef681abe4acfacc6a
MD5 2e7d35720ca41514e2f666a3d6347d6c
BLAKE2b-256 966d87587d114bc3027a6c375fb183cfcc62536655541771d7daf81bd0a046db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_b12-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6385cac3389996cd5e77918d2df934e8b510197b5bcb1a26f1cf5e35820261ef
MD5 580dec23f7644c7253dbeb64f8dd0a36
BLAKE2b-256 78940ad8a8b0b6cc371a0cdc038f803376611d2ffb81f1816e16a315cd427692

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