Class: ActiveIntelligence::LLM::Adapter

Inherits:
Adapter
  • Object
show all
Defined in:
lib/active_intelligence/llm/adapter.rb

Direct Known Subclasses

OpenAIAdapter

Instance Attribute Summary

Attributes inherited from Adapter

#settings

Instance Method Summary collapse

Methods inherited from Adapter

#initialize

Constructor Details

This class inherits a constructor from ActiveIntelligence::Adapter

Instance Method Details

#generate(prompt, options = {}) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/active_intelligence/llm/adapter.rb', line 7

def generate(prompt, options = {})
  raise NotImplementedError
end

#reply(chat, prompt, options = {}) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/active_intelligence/llm/adapter.rb', line 11

def reply(chat, prompt, options = {})
  raise NotImplementedError
end