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.4.tar.gz (4.9 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.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: model_manage_client-0.0.1.4.tar.gz
  • Upload date:
  • Size: 4.9 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.4.tar.gz
Algorithm Hash digest
SHA256 bc09c422bc371e46cc4e9e6c1cb972aac61223c6554a309cc69f69144ffba65b
MD5 1a22b0999e94b188a934f17d2067fdcc
BLAKE2b-256 683591a570db57303604e442b2a641d3a41bad75f2ce1a437bf1a2199a1dab1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for model_manage_client-0.0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a47272fa48ea362ac72d80adfe52dbdf127834dc4b38d93cbea4538ef89d6539
MD5 1203128eb9f59ef251bf3667d5cec44d
BLAKE2b-256 87fa2c833abca9e0654eff1f728bd5f4d6365bb68c8eaa6127901d1e8419f6fc

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