Registry / networking / langchainrb

langchainrb

JSON →
library1.19.2rbrubygemsunverified

Build LLM-backed Ruby applications with Ruby's Langchain.rb, providing a framework for language model integration.

gem install langchainrb
INSTALL
IMPORT
SIG · LANGCHAINRB
L
langchainrb
networkingrubyv1.19.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Langchain
require 'langchainrb'

Initialize an OpenAI LLM and send a chat message

require 'langchainrb' llm = Langchain::LLM::OpenAI.new(api_key: 'your_key') response = llm.chat(messages: [{role: 'user', content: 'Hello'}]) puts response
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.19.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
langchainrb — gem install langchainrb · libregistry