public_chat / src /backend /__init__.py
Daniel Machado Pedrozo
Implement initial project structure with Dockerfile, requirements, and Streamlit app. Added model loading and inference utilities, along with chat management features. Updated entry point and added new dependencies.
91c131d
raw
history blame contribute delete
462 Bytes
"""Backend module for LLM model loading and inference."""
from .model_loader import load_model
from .chat import Conversation, Message
from .chat_model import ChatModel
from .inference import generate_streaming, generate_simple
__all__ = [
# Model loading
"load_model",
# OOP classes (recomendado)
"Conversation",
"ChatModel",
# Functions (compatibilidade)
"generate_streaming",
"generate_simple",
# Types
"Message",
]