← Graph

langchainrb

tool 9 connections

Open-source Ruby gem created and maintained by Andrei Bondarev. Described as the most popular Ruby solution to build LLM-powered applications. Vendor-agnostic: common interface over multiple LLM providers (OpenAI, Google, Mistral) and vector databases — 'pick your poison'. Supports general LLM interfacing, building agents (with tool/function-calling orchestration via open-API-spec JSON tool signatures), and RAG systems (add_text + similarity_search + ask for naive RAG). 'Batteries-included' in the Rails tradition. Has a Discord community. Demo uses Langchain::Assistant with an LLM instance and an array of tool objects (each tool inherits from Langchain::Tool::Base and points to an open-API-style JSON describing its functions).

license
open-source
category
library
language
Ruby
about
langchainrb tool
Talk centres on langchainrb as the Ruby solution for LLM-powered apps.
about
langchainrb tool
Lessons drawn from maintaining langchainrb.
about
langchainrb tool
Uses LangChain's JSON/YAML retry prompts as an example and argues LangChain is now obsolete.
about
langchainrb tool
Statement specifically about LangChain/langchainrb's relevance.
related_to
langchainrb tool
LangChain's JSON and YAML retry prompts exemplify the old client-side approach.
tool langchainrb
uses
Supports OpenAI GPT-4 as an LLM provider via a common interface.
tool langchainrb
uses
Provides add_text + similarity_search + ask for naive RAG.
uses
langchainrb tool
Demo built on langchainrb's Assistant and Tool abstractions.
works_on
langchainrb tool
Creator and maintainer of the langchainrb Ruby gem.
role: creator/maintainer

Provenance

Read by
37 extractions