Class: AIA::Sgpt

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

Constant Summary collapse

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

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