Skip to main content

Python wrapper for Promptlytics

Project description

Project Title

Official python library for Promptlytics

Description

Promptlytics is a prompt analytics tool that helps you find the best prompts for your use case by tracking user feedback and associating it with your prompt templates.

Installation

pip install promptlytics

Getting Started

Use an instance of the Promptlytics class to get your prompt templates and track user feedback

from promptlytics import Promptlytics

promptlytics = Promptlytics(YOUR_API_KEY)

# Gets the template selected for use in your dashboard
template = promptlytics.useTemplate(use_selected=True)

# sends user feedback
promptlytics.track(use_selected=True, rating=5, completion="string response from your LLM")

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

promptlytics-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

promptlytics-0.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file promptlytics-0.0.2.tar.gz.

File metadata

  • Download URL: promptlytics-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for promptlytics-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d041cfcc8d0d20d50038c099de652ae90d12e9952270a4233c46f533b31c6504
MD5 93c1dee857c19b145c5ea16b82f55353
BLAKE2b-256 7db09be86924307e3f7f4604be2ebb0e30a3d7d7e4800ce26efcaaaf343c659f

See more details on using hashes here.

File details

Details for the file promptlytics-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for promptlytics-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 302a45f17e04bf041323a81fb07748ff371eb15530cfb214daf8bb9eddde38e9
MD5 d091b4533ac031cdb0403e302359fd79
BLAKE2b-256 bc744bfd9c1f9c732f7671d5f52e9d8ad050213f5741f8a8acaa7ab7b30a0063

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page