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.3.tar.gz (4.0 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.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: model_manage_client-0.0.1.3.tar.gz
  • Upload date:
  • Size: 4.0 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.3.tar.gz
Algorithm Hash digest
SHA256 a66df24f752b495a605b0247215961c2613a19f0772b0b27e9af7ab78422bf9d
MD5 85452253e2a358de51821c24ebcc6650
BLAKE2b-256 8b049cd129f9e139640e51ce3bf1dd14a2a9875b8f24b99596249a190e4f876b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for model_manage_client-0.0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 84555284339ef64c72077177ff840c4a5c510e1edde4b5becf9409e2d3d7d9ed
MD5 69c609b635c6debb4ccc1eabfde5c869
BLAKE2b-256 aae49c90b291af7981cd828f065d495414019efc734cc2d3e1a9c1b60f2b7983

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