Method: Langchain::LLM::Base#summarize
- Defined in:
- lib/langchain/llm/base.rb
#summarize ⇒ Object
Generate a summary for a given text. Parameters depends on the LLM.
74 75 76 |
# File 'lib/langchain/llm/base.rb', line 74 def summarize(...) raise NotImplementedError, "#{self.class.name} does not support summarization" end |