Module: Chromable
- Defined in:
- lib/chromable.rb,
lib/chromable/version.rb
Overview
Ruby on Rails integration for ChromaDB.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods Classes: Settings
Constant Summary collapse
- VERSION =
'0.3.5'
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/chromable.rb', line 7 def self.included(base) base.extend ClassMethods base.include InstanceMethods base.after_save :chroma_upsert_embedding base.after_destroy :chroma_destroy_embedding end |