Skip to main content

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.

  1. Create the runtime object
  2. Call prompt method of runtime object
  3. 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())

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

banking_agent_runtime-0.2.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

banking_agent_runtime-0.2.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file banking_agent_runtime-0.2.0.tar.gz.

File metadata

  • Download URL: banking_agent_runtime-0.2.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for banking_agent_runtime-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9be5200176aa6449757eda549a5848668e53decee292ce817b6fb7d3b2ca5af5
MD5 72dbf73bfd603323a38a20b77a0aa19e
BLAKE2b-256 60d7968501b30bbc57d1efb8721c9f98e1baeab9f69989082caaa4883b43d090

See more details on using hashes here.

File details

Details for the file banking_agent_runtime-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for banking_agent_runtime-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 248cf10ef2c8b48e16058652c28138fb78f30db322d1926f950fc3cba14d537c
MD5 a1138b6445519e30c91670f6f020ff1a
BLAKE2b-256 5cc9da24fee83684efe8ae2532a83ed807cc82d29016e4a3b55285f81d6d873d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page