Class: AIA::Llm

Inherits:
Tools show all
Includes:
BackendCommon
Defined in:
lib/aia/tools/llm.rb

Constant Summary collapse

DEFAULT_PARAMETERS =
[
  # "--verbose",          # enable verbose logging (if applicable)
  # Add default parameters here
].join(' ').freeze
DIRECTIVES =
%w[
  api_key
  frequency_penalty
  max_tokens
  model
  presence_penalty
  stop_sequence
  temperature
  top_p
]

Instance Attribute Summary

Attributes included from BackendCommon

#command, #files, #parameters, #text

Method Summary

Methods included from BackendCommon

#build_command, #initialize, #run, #sanitize, #set_parameter_from_directives

Methods inherited from Tools

catalog, get_meta, inherited, load_tools, #meta, meta, search_for, setup_backend, validate_tools