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.1.tar.gz (3.5 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: model_manage_client-0.0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 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.1.tar.gz
Algorithm Hash digest
SHA256 ec72a4554589aad7cc77e1dfafa26202d10f4b1f32b0dd07a017e514e7e9c15b
MD5 906ee4182b9237a8701d70da7de8e253
BLAKE2b-256 916c5077022d6717d4536eec14d36b988351b54fa679825c6c768dc7ce1b0753

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for model_manage_client-0.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4da5aa847dfb8ded2eb233db2cfd2b24e8995f1d498ad43ad5f06b236b8fb23c
MD5 ebdca38738a512d52caa23681780d9aa
BLAKE2b-256 4fa1791bff780569904dc6bea56d6c0404b32b8d5d8c2ff507c3f35e7c7bcd4c

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