haive.agents.document_loader.examples.usage_examples¶

Document Loader Agent Usage Examples.

from typing import Any This module demonstrates how to use the document loader agents in various scenarios.

Functions¶

example_async_loading()

Example of asynchronous document loading.

example_basic_document_loader()

Basic example using the DocumentLoaderAgent.

example_directory_loader()

Example using the DirectoryLoaderAgent.

example_file_loader()

Example using the FileLoaderAgent.

example_rag_integration()

Example of integrating document loader with RAG.

example_web_loader()

Example using the WebLoaderAgent.

Module Contents¶

async haive.agents.document_loader.examples.usage_examples.example_async_loading()¶

Example of asynchronous document loading.

haive.agents.document_loader.examples.usage_examples.example_basic_document_loader()¶

Basic example using the DocumentLoaderAgent.

Return type:

Any

haive.agents.document_loader.examples.usage_examples.example_directory_loader()¶

Example using the DirectoryLoaderAgent.

Return type:

Any

haive.agents.document_loader.examples.usage_examples.example_file_loader()¶

Example using the FileLoaderAgent.

Return type:

Any

haive.agents.document_loader.examples.usage_examples.example_rag_integration()¶

Example of integrating document loader with RAG.

Return type:

str

haive.agents.document_loader.examples.usage_examples.example_web_loader()¶

Example using the WebLoaderAgent.

Return type:

Any