Skip to main content

Shared utilities for Cheeky Platform - AI-powered Shopify analytics

Project description

cheeky-platform-shared

Shared utilities for the Cheeky Platform - AI-powered Shopify analytics.

Installation

pip install cheeky-platform-shared

Usage

from cheeky_platform_shared.llm import openai_chat_text
from cheeky_platform_shared.prompts import (
    BASE_CONTEXT_SYSTEM_PROMPT,
    BASE_CONTEXT_USER_PROMPT,
)

text = await openai_chat_text(
    system=BASE_CONTEXT_SYSTEM_PROMPT,
    user=BASE_CONTEXT_USER_PROMPT.format(url="https://shop.example", content="...")
)

License

MIT

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

cheeky_platform_shared-0.1.1.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.

cheeky_platform_shared-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file cheeky_platform_shared-0.1.1.tar.gz.

File metadata

  • Download URL: cheeky_platform_shared-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.32.4 requests-toolbelt/1.0.0 urllib3/2.5.0 tqdm/4.67.1 importlib-metadata/6.11.0 keyring/25.6.0 rfc3986/1.5.0 colorama/0.4.6 CPython/3.12.8

File hashes

Hashes for cheeky_platform_shared-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f0521d7b5c9d361d1678e1f8178bd155159ee4a13d8e0df86a020b4a85fbce80
MD5 68ceac455296907eebc6d19c83b3808b
BLAKE2b-256 7ecea17ab78ceedee2e6fb68371b0496b37a2630218d5f55e12071d2f85381bc

See more details on using hashes here.

File details

Details for the file cheeky_platform_shared-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cheeky_platform_shared-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.32.4 requests-toolbelt/1.0.0 urllib3/2.5.0 tqdm/4.67.1 importlib-metadata/6.11.0 keyring/25.6.0 rfc3986/1.5.0 colorama/0.4.6 CPython/3.12.8

File hashes

Hashes for cheeky_platform_shared-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b7e48e12c9b3f54c6d596e344283a3cf82d402e3155e3887ff4bb0aa475726c
MD5 cb9914acbd5f2a8f724150f0faee5114
BLAKE2b-256 4cbebb452f0eb986e100dee569663fa06828d8ae82a5a738718031ab887c9c5e

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