ailoy-py 0.0.1__cp310-cp310-win_amd64.whl → 0.0.3__cp310-cp310-win_amd64.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/__init__.py +20 -1
- ailoy/agent.py +349 -309
- ailoy/ailoy_py.cp310-win_amd64.pyd +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.3.dist-info/DELVEWHEEL +2 -0
- {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 +27 -0
- {ailoy_py-0.0.1.dist-info → ailoy_py-0.0.3.dist-info}/WHEEL +1 -1
- ailoy_py.libs/msvcp140-0c97ddc05c5b9024aa6af9538804ea77.dll +0 -0
- ailoy_py.libs/tvm_runtime-b9e3c7109c2f4b1e95a6f576ff368094.dll +0 -0
- ailoy_py-0.0.1.dist-info/DELVEWHEEL +0 -2
- ailoy_py-0.0.1.dist-info/RECORD +0 -20
- ailoy_py.libs/msvcp140-9867ece6bcf7e4746fa7e6671b0a17bd.dll +0 -0
- ailoy_py.libs/tvm_runtime-781b77698d9c76cd695ed4ae13795465.dll +0 -0
- {ailoy_py-0.0.1.dist-info → ailoy_py-0.0.3.dist-info}/entry_points.txt +0 -0
ailoy/__init__.py
CHANGED
@@ -9,6 +9,25 @@ _delvewheel_patch_1_10_1()
|
|
9
9
|
del _delvewheel_patch_1_10_1
|
10
10
|
# end delvewheel patch
|
11
11
|
|
12
|
-
|
12
|
+
if __doc__ is None:
|
13
|
+
try:
|
14
|
+
import importlib.metadata
|
15
|
+
|
16
|
+
meta = importlib.metadata.metadata("ailoy-py")
|
17
|
+
__doc__ = meta.get("Description")
|
18
|
+
except importlib.metadata.PackageNotFoundError:
|
19
|
+
pass
|
20
|
+
|
21
|
+
if __doc__ is None:
|
22
|
+
from pathlib import Path
|
23
|
+
|
24
|
+
readme = Path(__file__).parent.parent / "README.md"
|
25
|
+
if readme.exists():
|
26
|
+
__doc__ = readme.read_text()
|
27
|
+
else: # fallback docstring
|
28
|
+
__doc__ = "# ailoy-py\n\nPython binding for Ailoy runtime APIs"
|
29
|
+
|
30
|
+
from .agent import Agent, AudioContent, BearerAuthenticator, ImageContent, TextContent, ToolAuthenticator # noqa: F401
|
31
|
+
from .models import APIModel, LocalModel # noqa: F401
|
13
32
|
from .runtime import AsyncRuntime, Runtime # noqa: F401
|
14
33
|
from .vector_store import VectorStore # noqa: F401
|