mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-03-05 15:46:16 -05:00
20 lines
486 B
Python
20 lines
486 B
Python
"""Protocol-related packages for all library integrations.
|
|
|
|
Currently support OpenAI compatible API.
|
|
"""
|
|
from __future__ import annotations
|
|
import os
|
|
import typing as t
|
|
|
|
from openllm_core.utils import LazyModule
|
|
|
|
_import_structure: dict[str, list[str]] = {'openai': []}
|
|
|
|
if t.TYPE_CHECKING:
|
|
from . import openai as openai
|
|
|
|
__lazy = LazyModule(__name__, os.path.abspath('__file__'), _import_structure)
|
|
__all__ = __lazy.__all__
|
|
__dir__ = __lazy.__dir__
|
|
__getattr__ = __lazy.__getattr__
|