"""
Llamaball - High-Performance Document Chat & RAG System
File Purpose: Package initialization and public API
Primary Functions: Expose core functionality and version info
Inputs: N/A (initialization only)
Outputs: Package version and core functions
"""

__version__ = "1.1.1"

# Import core functionality to make it available at package level
from . import core
from . import cli
from . import utils
from . import parsers

# Expose main functions for programmatic use
from .core import (
    ingest_files,
    search_embeddings,
    chat,
    init_db
)

# Expose file parsing functions
from .parsers import (
    parse_file,
    get_supported_extensions,
    is_supported_file,
    FileParser
)

__all__ = [
    '__version__',
    'core',
    'cli', 
    'utils',
    'parsers',
    'ingest_files',
    'search_embeddings', 
    'chat',
    'init_db',
    'parse_file',
    'get_supported_extensions',
    'is_supported_file',
    'FileParser'
]
