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.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: promptlytics-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 19e2c5b2ee19c3ea09f7963dbd17f3c8762112edc4ffcf208fddabc06d380463
MD5 5c97681d0927dbc5ab64bfed973265fe
BLAKE2b-256 1d660739e299d8b84a336c0d9cd31495b7f916c2c6b4b32ca1ffa0f33e7398e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for promptlytics-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a2333e9ff1bb850f5830630e81abccca1f99302366340c85ef8b8140fb8c179
MD5 d9c54b7eb2604f1e61ac47a2e0afdad1
BLAKE2b-256 0b28bb33bcad15923d3ba43a08cc0f19a59eb386761bdfc00a26a9ee55ec7329

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