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.6.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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sentrifyai-0.1.6.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for sentrifyai-0.1.6.tar.gz
Algorithm Hash digest
SHA256 367ddab021912c9dcb544d0b0ed0595617c1991dbe4c5589737125c1aefcd5c0
MD5 8c49ce172c63bc82feaff983716fafbb
BLAKE2b-256 9cbe55ca7d90a56c2ddf60029637383f6f095d3b7b12f91781bee89b5f60bfe8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sentrifyai-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for sentrifyai-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4e46c7b4ce6896d25f5d211e934118a0c659304f7b4a09703558fbdd87c5144b
MD5 f3c899b15c7604affd2642ea65324acf
BLAKE2b-256 44dbf8137770ff23fbae6a9b45f96793d674ca056b6838ba34ce4279a586ed8f

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