Class: AskChatgpt::Prompts::Model
- Defined in:
- lib/ask_chatgpt/prompts/model.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from AskChatgpt::Prompts::Base
Instance Method Details
#content ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/ask_chatgpt/prompts/model.rb', line 4 def content [ summary_info, schema_info, associations_info, instructions_info ].reject { |v| v.blank? }.join("\n\n") end |