Sha256: 08c998ce0675301344118be8d772d12105b01fade63a73e789d2c2a29ff2e45c
Contents?: true
Size: 572 Bytes
Versions: 1
Compression:
Stored size: 572 Bytes
Contents
# lib/ai_client/llm.rb require 'active_hash' class AiClient # TODO: Think about this for the OpenRouter modesl DB # Might cahnge this to ActiveYaml class LLM < ActiveHash::Base self.data = AiClient.models def model = id.split('/')[1] def provider = id.split('/')[0] class << self def import(path_to_uml_file) # TODO: load raise "TODO: Not Implemented: #{path_to_yml_file}" end def export(path_to_uml_file) # TODO: Dump raise "TODO: Not Implemented: #{path_to_yml_file}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ai_client-0.2.3 | lib/ai_client/llm.rb |