ailoy-py 0.0.1__cp311-cp311-macosx_14_0_arm64.whl → 0.0.3__cp311-cp311-macosx_14_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ailoy/.dylibs/libomp.dylib +0 -0
- ailoy/.dylibs/libtvm_runtime.dylib +0 -0
- ailoy/__init__.py +20 -1
- ailoy/agent.py +349 -309
- ailoy/ailoy_py.cpython-311-darwin.so +0 -0
- ailoy/mcp.py +171 -0
- ailoy/models/__init__.py +7 -0
- ailoy/models/api_model.py +71 -0
- ailoy/models/local_model.py +44 -0
- ailoy/runtime.py +34 -19
- ailoy/tools.py +205 -0
- ailoy/utils/__init__.py +0 -0
- ailoy/utils/image.py +11 -0
- ailoy/vector_store.py +10 -9
- {ailoy_py-0.0.1.dist-info → ailoy_py-0.0.3.dist-info}/METADATA +5 -4
- ailoy_py-0.0.3.dist-info/RECORD +25 -0
- {ailoy_py-0.0.1.dist-info → ailoy_py-0.0.3.dist-info}/WHEEL +1 -1
- ailoy_py-0.0.1.dist-info/RECORD +0 -18
- {ailoy_py-0.0.1.dist-info → ailoy_py-0.0.3.dist-info}/entry_points.txt +0 -0
ailoy/.dylibs/libomp.dylib
CHANGED
Binary file
|
Binary file
|
ailoy/__init__.py
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
-
|
1
|
+
if __doc__ is None:
|
2
|
+
try:
|
3
|
+
import importlib.metadata
|
4
|
+
|
5
|
+
meta = importlib.metadata.metadata("ailoy-py")
|
6
|
+
__doc__ = meta.get("Description")
|
7
|
+
except importlib.metadata.PackageNotFoundError:
|
8
|
+
pass
|
9
|
+
|
10
|
+
if __doc__ is None:
|
11
|
+
from pathlib import Path
|
12
|
+
|
13
|
+
readme = Path(__file__).parent.parent / "README.md"
|
14
|
+
if readme.exists():
|
15
|
+
__doc__ = readme.read_text()
|
16
|
+
else: # fallback docstring
|
17
|
+
__doc__ = "# ailoy-py\n\nPython binding for Ailoy runtime APIs"
|
18
|
+
|
19
|
+
from .agent import Agent, AudioContent, BearerAuthenticator, ImageContent, TextContent, ToolAuthenticator # noqa: F401
|
20
|
+
from .models import APIModel, LocalModel # noqa: F401
|
2
21
|
from .runtime import AsyncRuntime, Runtime # noqa: F401
|
3
22
|
from .vector_store import VectorStore # noqa: F401
|