Class: Foobara::LlmBackedCommand

Inherits:
Command
  • Object
show all
Includes:
LlmBackedExecuteMethod
Defined in:
foobara-llm-backed-command-1.0.2/src/llm_backed_command.rb

Constant Summary

Constants included from LlmBackedExecuteMethod

Foobara::LlmBackedExecuteMethod::LLM_INTEGRATION_KEYS

Instance Attribute Summary

Attributes included from LlmBackedExecuteMethod

#answer, #assistant_serializer, #computed_assistant_association_depth, #computed_user_association_depth, #final_answer, #llm_instructions, #messages, #parsed_answer, #user_serializer

Method Summary

Methods included from LlmBackedExecuteMethod

#attempt_to_recover_from_bad_format, #build_messages, #construct_messages, #depth_to_serializer, #determine_assistant_association_depth, #determine_assistant_serializer, #determine_llm_instructions, #determine_user_association_depth, #determine_user_serializer, #execute, #generate_answer, #parse_answer

Methods included from Concern

foobara_class_methods_module_for, foobara_concern?, included