Class: Langchain::Processors::Base
- Inherits:
-
Object
- Object
- Langchain::Processors::Base
- Includes:
- DependencyHelper
- Defined in:
- lib/langchain/processors/base.rb
Overview
Processors load and parse/process various data types such as CSVs, PDFs, Word documents, HTML pages, and others.
Constant Summary collapse
- EXTENSIONS =
[]
- CONTENT_TYPES =
[]
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
- #parse(data) ⇒ Object
Methods included from DependencyHelper
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
12 13 14 |
# File 'lib/langchain/processors/base.rb', line 12 def initialize( = {}) @options = end |
Instance Method Details
#parse(data) ⇒ Object
16 17 18 |
# File 'lib/langchain/processors/base.rb', line 16 def parse(data) raise NotImplementedError end |