# Copyright 2025 C3 AI, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# -*- coding: utf-8 -*-
"""
CHARM SDK: Client for the CHARM time-series API (embeddings and forecast/backcast).

- Embeddings: one vector per time series. Input (N, T, C) → output (N, D).
- Forecast/backcast: quantile predictions. Input (N, T, C) + target_len → output (N, abs(target_len), C, Q).

See the package README "Data shapes and API reference" for input/output shapes and limits.
"""

from .client import CharmClient
from .errors import (
    CharmError,
    APIError,
    RateLimitError,
    ServiceUnavailableError,
    InvalidRequestError,
    AuthenticationError,
    TimeoutError_,
    NetworkError,
    ResponseValidationError,
)
from .models import EmbeddingsResponse, ForecastResponse

__all__ = [
    "CharmClient",
    "CharmError",
    "APIError",
    "RateLimitError",
    "ServiceUnavailableError",
    "InvalidRequestError",
    "AuthenticationError",
    "TimeoutError_",
    "NetworkError",
    "ResponseValidationError",
    "EmbeddingsResponse",
    "ForecastResponse",
]

__version__ = "0.1.0"
__package_name__ = "c3-charm"