📦 langchainrb/ patterns-ai-core
Build LLM-powered applications in Ruby
Открыть на GitHub ↗обновлён 2мес назад
Звёзды
★ 2.0k
Форки
262
За неделю
—
За месяц
—
Рост %
—
Язык
Ruby
Установка и запуск
Installation
Install the gem and add to the application's Gemfile by executing:
bundle add langchainrb
If bundler is not being used to manage dependencies, install the gem by executing:
gem install langchainrb
Additional gems may be required. They're not included by default so you can include only what you need.
Usage
require "langchain"
Usage
All LLM classes inherit from Langchain::LLM::Base and provide a consistent interface for common operations:
- Generating embeddings
- Generating prompt completions
- Generating chat completions
Из README репозитория · полный README на GitHub
Категории
Теги
agentsai-agentsartificial-intelligencemachine-learningmlrubymlvector-search