Skip to main content

A package for interacting with the Model management Service-API

Project description

model-manage-client

A model-manage App Service-API Client, using for build a webapp by request Service-API

Usage

First, install model-manage-client python sdk package:

pip install model-manage-client

Write your code with sdk:

  • completion generate with blocking response_mode
from model-manage-client import ModelManageClient

base_url = "model-manage service api url"
client_token = "your_client_token"

# Initialize CompletionClient
m_client = ModelManageClient(base_url, client_token)

# Create Completion Message using CompletionClient
extra_params = {
    "agent_description": "agent_description",
    "agent_icon_url": "agent_icon_url",
    "agent_api_version": "agent_api_version",
    "agent_features":{}
}
m_client.register_agent("agent_name","agent_id","agent_url", **extra_params)

Project details


Download files

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

Source Distribution

model_manage_client-0.0.1.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

model_manage_client-0.0.1.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file model_manage_client-0.0.1.2.tar.gz.

File metadata

  • Download URL: model_manage_client-0.0.1.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for model_manage_client-0.0.1.2.tar.gz
Algorithm Hash digest
SHA256 135d84ff36480a05a83f6a2ed3fc453dafe2ad9fe625a19d4ca440a9fd12eae7
MD5 02c089a84b7444f7871338135b0f2066
BLAKE2b-256 d6a4855cb598a639f7a120afff4012e7a92b1e3051a0c36d9370f1cf3703c632

See more details on using hashes here.

File details

Details for the file model_manage_client-0.0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for model_manage_client-0.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1412041af951fb3a76818e370033c3a550ab624dcd07377f953fbcab8f71233f
MD5 1a2f663099533e81dbf16544bdb7c580
BLAKE2b-256 fd8a20f9665419519905bdc8f177f4b5d940cad1a4d2e3a83acfa8a15b173e1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page