Skip to main content

prompt-sender

A tool for sending JSON files of prompts and model responses to the Argilla A/B testing platform for human annotations.

How to use

Simply install the package using pip:

pip install prompt-sender

Run prompt-sender --help for the required arguments:

$ prompt-sender --help
                                                                                                                                                                                  
 Usage: prompt-sender [OPTIONS]                                                                                                                                                   
                                                                                                                                                                                  
 Send prompts that need annotations to the A/B testing platform. Make sure WORKSPACE_NAME and DATASET_NAME already exist on the platform!                                         
                                                                                                                                                                                  
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *  --api-url                   TEXT  A/B testing platform URL [default: None] [required]                                                                                       │
│ *  --api-key                   TEXT  API key for testing platform [default: None] [required]                                                                                   │
│ *  --prompt-file               TEXT  The name of the file of prompts to send to the A/B testing platform [default: None] [required]                                            │
│ *  --workspace-name            TEXT  The name of the workspace in the Argilla A/B testing platform [default: None] [required]                                                  │
│ *  --dataset-name              TEXT  The dataset to add prompts to [default: None] [required]                                                                                  │
│    --install-completion              Install completion for the current shell.                                                                                                 │
│    --show-completion                 Show completion for the current shell, to copy it or customize the installation.                                                          │
│    --help                            Show this message and exit.                                                                                                               │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

How to develop

  1. Clone the repo: git clone git@github.com:langtech-bsc/prompt-sender.git.

  2. If poetry is not installed on your system, follow the instructions to install it:

  3. cd prompt-sender/ and create a virtual environment, either by using something like venv or by using poetry's built-in virtual environment, which can be created and activated by running poetry shell (run exit to deactivate).

  4. Run poetry install to install project dependencies.

  5. Run pre-commit install to set up the git pre-commit hook scripts

Metadata

Release files for prompt-sender 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prompt-sender 0.2.2
File Size Uploaded Provenance Actions
prompt_sender-0.2.2.tar.gz 6.7 kB Without provenance Details for prompt_sender-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prompt-sender 0.2.2
File Interpreter ABI Platform Actions
prompt_sender-0.2.2-py3-none-any.whl Python 3 none any Details for prompt_sender-0.2.2-py3-none-any.whl

Total release size: 14.2 kB

Release files / prompt_sender-0.2.2.tar.gz

Download URL prompt_sender-0.2.2.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2d7e317f5a20e7a7164dcee6be5ac12e29fb1933cf9bdd10e8f45e82db05995e
BLAKE2b-256 checksum
How to use checksums
6d48323e45e1813d7d82ece9decb79d93cc3aa5912a317ed418191ad41ef6146
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure

Release files / prompt_sender-0.2.2-py3-none-any.whl

Download URL prompt_sender-0.2.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38c7b97549465d6023361de1bd93d4a4714814a1ce7c95c7d22096ff9a1a6fb2
BLAKE2b-256 checksum
How to use checksums
547445ff36b0323d944d98cef4fbc82dd24add1d424d771524471f0a5fd35d86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure

Security for prompt-sender 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page