agents.document_loader.directory.agent

Directory-specific Document Loader Agent.

This module provides a specialized document loader agent for loading documents from local directories.

Classes

DirectoryLoaderAgent

Specialized document loader agent for loading documents from directories.

Module Contents

class agents.document_loader.directory.agent.DirectoryLoaderAgent

Bases: haive.agents.document_loader.base.agent.DocumentLoaderAgent

Specialized document loader agent for loading documents from directories.

This agent is pre-configured for loading from local directories and provides additional directory-specific options.

name

Name of the agent

directory_path

Path to the directory to load

recursive

Whether to recursively load files

glob_pattern

Glob pattern for filtering files

include_extensions

List of file extensions to include

exclude_extensions

List of file extensions to exclude

setup_agent()

Set up the agent with a directory loader engine.

Return type:

None