haive.agents.document_loader.file.agent¶

File-specific Document Loader Agent.

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

Classes¶

FileLoaderAgent

Specialized document loader agent for loading documents from files.

Module Contents¶

class haive.agents.document_loader.file.agent.FileLoaderAgent¶

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

Specialized document loader agent for loading documents from files.

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

name¶

Name of the agent

file_path¶

Path to the file to load

file_extension¶

File extension to use for loader selection

loader_name¶

Explicit loader name to use

setup_agent()¶

Set up the agent with a file loader engine.

Return type:

None