Class: LlmModel
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- LlmModel
- Defined in:
- app/models/llm_model.rb
Overview
== Schema Information
Table name: llm_models
Database name: primary
id :bigint not null, primary key
capabilities :jsonb
context_window :integer
family :string
knowledge_cutoff :date
max_output_tokens :integer
metadata :jsonb
modalities :jsonb
model_created_at :datetime
name :string not null
pricing :jsonb
provider :string not null
created_at :datetime not null
updated_at :datetime not null
model_id :string not null
Indexes
index_llm_models_on_capabilities (capabilities) USING gin
index_llm_models_on_family (family)
index_llm_models_on_modalities (modalities) USING gin
index_llm_models_on_provider_and_model_id (provider,model_id) UNIQUE
Method Summary
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation