Skip to main content

SentrifyAI API client

Project description

SentrifyAI Python Package

SentrifyAI is a Python package that provides a client for interacting with the SentrifyAI API.

Installation

You can install the package via pip:

pip install sentrifyai

Usage

from sentrifyai import api

# Initialize the client
client = api.SentrifyAI()

# List models available on SentrifyAI
models = client.list_models()
print(models)

# Classify a message using a specific model
result = client.classify_message(model_slug='Sentrify-Mod-1.1', message='Your message here')
print(result)

Documentation

For more detailed usage instructions and API reference, please refer to the documentation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

sentrifyai-0.1.5.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

sentrifyai-0.1.5-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file sentrifyai-0.1.5.tar.gz.

File metadata

  • Download URL: sentrifyai-0.1.5.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for sentrifyai-0.1.5.tar.gz
Algorithm Hash digest
SHA256 fbcdb828a7a9fc230ac3b399f7eed0a9d043240fbd9577e5c77c12670b34ec10
MD5 b4bf6cef1fc3ae38f0154b35370b87ef
BLAKE2b-256 022193cd0ee770e09dd9d50235ea6e6de98053c13c847ec1d01892a9a2c0f8d5

See more details on using hashes here.

File details

Details for the file sentrifyai-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: sentrifyai-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for sentrifyai-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 083cd8ceaae1c3df8a70029c273afaee8f92b68b6213bdbb776502e72bb47de8
MD5 0435d75ca510d1b7f777817c1a9604bd
BLAKE2b-256 3aa8539a01395f2791b44d208eca914c15fcc319bed124698cab3348d9bfcf1b

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