Banking NLU agentic rutime
The runtime interface that provides tool calling using the backbone of Banking Classification Model through the API.
How to use the runtime
Using the runtime is very easy.
- Create the runtime object
- Call prompt method of runtime object
- Miracle happens
Not that simple actually
Examples
import asyncio
from agentic_runtime.mappers import mappers
from agentic_runtime.model.api import HTTPModelApi
from agentic_runtime.runtime.runtime import ToolCallingRuntime
from agentic_runtime.schemas.intent import TransferMoney
from agentic_runtime.tools.registry import ToolRegistry
model_api = HTTPModelApi(
api_key="your_api_key",
api_url="url_to_model", #not deploy to public yet
)
tool_registry = ToolRegistry()
runtime = ToolCallingRuntime(
api=model_api,
tool_registry=tool_registry,
mapper_registry=mappers.registry
)
@tool_registry.register(TransferMoney)
def my_tool(intent:TransferMoney, context):
print(f"Transferring {intent.amount} to {intent.receiver}")
async def test():
print("start")
await runtime.prompt("ကိုကိုကို ၈ထောင်လွှဲပါ")
print("end")
if __name__ == "__main__":
asyncio.run(test())
Metadata
Release files for banking-agent-runtime 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| banking_agent_runtime-0.2.0.tar.gz | 10.9 kB | Without provenance | Details for banking_agent_runtime-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| banking_agent_runtime-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for banking_agent_runtime-0.2.0-py3-none-any.whl |
Total release size: 23.7 kB
Release files / banking_agent_runtime-0.2.0.tar.gz
| Download URL | banking_agent_runtime-0.2.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9be5200176aa6449757eda549a5848668e53decee292ce817b6fb7d3b2ca5af5
|
|
BLAKE2b-256 checksum How to use checksums |
60d7968501b30bbc57d1efb8721c9f98e1baeab9f69989082caaa4883b43d090
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / banking_agent_runtime-0.2.0-py3-none-any.whl
| Download URL | banking_agent_runtime-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
248cf10ef2c8b48e16058652c28138fb78f30db322d1926f950fc3cba14d537c
|
|
BLAKE2b-256 checksum How to use checksums |
5cc9da24fee83684efe8ae2532a83ed807cc82d29016e4a3b55285f81d6d873d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for banking-agent-runtime 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.