@compensa/langchain
TypeScript icon, indicating that this package has built-in type declarations

0.0.57 • Public • Published

🦜️🔗 LangChain.js

Building applications with LLMs through composability

Production Support: As you move your LangChains into production, we'd love to offer more comprehensive support. Please fill out this form and we'll set up a dedicated support Slack channel.

Quick Install

yarn add langchain

import { OpenAI } from 'langchain/llms';

🤔 What is this?

Large language models (LLMs) are emerging as a transformative technology, enabling developers to build applications that they previously could not. But using these LLMs in isolation is often not enough to create a truly powerful app - the real power comes when you can combine them with other sources of computation or knowledge.

This library is aimed at assisting in the development of those types of applications.

Relationship with Python LangChain

This is built to integrate as seamlessly as possible with the LangChain Python package. Specifically, this means all objects (prompts, LLMs, chains, etc) are designed in a way where they can be serialized and shared between languages.

The LangChainHub is a central place for the serialized versions of these prompts, chains, and agents.

📖 Documentation

For full documentation of prompts, chains, agents and more, please see here.

Dependents (0)

Package Sidebar

Install

npm i @compensa/langchain

Weekly Downloads

40

Version

0.0.57

License

MIT

Unpacked Size

1.3 MB

Total Files

752

Last publish

Collaborators

  • ajainvivek
  • dkcompensa
  • compensa-dev