Core Classes
Model
The primary class in the Plexe library, representing a machine learning model.
Methods:
build
Returns:
None
Note: At least one of timeout or max_iterations must be provided.
predict
Returns:
Dict[str, Any] - Prediction result
get_state
str representing model state: "draft", "building", "ready", or "error"
get_metadata
get_metrics
None
describe
ModelDescription object
DatasetGenerator
Class for generating synthetic data or augmenting existing data.
Methods:
Callback
Base class for callbacks that monitor the build process.
Constraint
Represents rules or conditions that the model should satisfy.
Core Functions
save_model
Returns:
str - Path where the model was saved
load_model
Returns:
Model - The loaded model
configure_logging
Returns:
None
Enums and Constants
ModelState
Enum representing the possible states of a model. The get_state() method returns the string value.
Provider Configuration
ProviderConfig
Class for configuring different LLM providers for different agent roles (imported from plexe.internal.common.provider).

