Crandore Hub

promptr

Format and Complete Few-Shot LLM Prompts

Format and submit few-shot prompts to OpenAI's Large Language Models (LLMs). Designed to be particularly useful for text classification problems in the social sciences. Methods are described in Ornstein, Blasingame, and Truscott (2024) <https://joeornstein.github.io/publications/ornstein-blasingame-truscott.pdf>.

Versions across snapshots

VersionRepositoryFileSize
1.0.0 rolling linux/jammy R-4.5 promptr_1.0.0.tar.gz 183.9 KiB
1.0.0 rolling linux/noble R-4.5 promptr_1.0.0.tar.gz 183.9 KiB
1.0.0 rolling source/ R- promptr_1.0.0.tar.gz 146.0 KiB
1.0.0 latest linux/jammy R-4.5 promptr_1.0.0.tar.gz 183.9 KiB
1.0.0 latest linux/noble R-4.5 promptr_1.0.0.tar.gz 183.9 KiB
1.0.0 latest source/ R- promptr_1.0.0.tar.gz 146.0 KiB
1.0.0 2026-04-26 source/ R- promptr_1.0.0.tar.gz 146.0 KiB
1.0.0 2026-04-23 source/ R- promptr_1.0.0.tar.gz 146.0 KiB
1.0.0 2026-04-09 windows/windows R-4.5 promptr_1.0.0.zip 187.9 KiB
1.0.0 2025-04-20 source/ R- promptr_1.0.0.tar.gz 146.0 KiB

Dependencies (latest)

Imports