haive.core.utils.haive_discovery.haive_discovery¶
Haive-specific component discovery implementation.
Classes¶
Specialized discovery for Haive project structure. |
Module Contents¶
- class haive.core.utils.haive_discovery.haive_discovery.HaiveComponentDiscovery(haive_root)[source]¶
Bases:
haive.core.utils.haive_discovery.discovery_engine.EnhancedComponentDiscoverySpecialized discovery for Haive project structure.
- Parameters:
haive_root (str)
- discover_all_categorized(create_tools=True)[source]¶
Discover all components, properly categorized.
- Parameters:
create_tools (bool)
- Return type:
dict[str, list[haive.core.utils.haive_discovery.component_info.ComponentInfo]]
- discover_document_loaders(create_tools=True)[source]¶
Discover document loaders.
- Parameters:
create_tools (bool)
- Return type:
list[haive.core.utils.haive_discovery.component_info.ComponentInfo]
- discover_engines(create_tools=True)[source]¶
Discover engines from haive-core package.
- Parameters:
create_tools (bool)
- Return type:
list[haive.core.utils.haive_discovery.component_info.ComponentInfo]
- discover_individual_tools(create_tools=True)[source]¶
Discover individual tools (not toolkits).
- Parameters:
create_tools (bool)
- Return type:
list[haive.core.utils.haive_discovery.component_info.ComponentInfo]
- discover_retrievers(create_tools=True)[source]¶
Discover retrievers from engine package.
- Parameters:
create_tools (bool)
- Return type:
list[haive.core.utils.haive_discovery.component_info.ComponentInfo]
- discover_toolkits(create_tools=True)[source]¶
Discover toolkits (collections of tools).
- Parameters:
create_tools (bool)
- Return type:
list[haive.core.utils.haive_discovery.component_info.ComponentInfo]
- discover_vector_stores(create_tools=True)[source]¶
Discover vector stores from engine package.
- Parameters:
create_tools (bool)
- Return type:
list[haive.core.utils.haive_discovery.component_info.ComponentInfo]