colindoyle0000/llms-as-method-actors
LLMs as Method Actors: A Model for Prompt Engineering and Architecture
Implements role-based prompting strategies where LLMs adopt specific personas or "method actor" personas to improve reasoning on constraint-satisfaction tasks, with support for OpenAI, Anthropic, and Gemini APIs. The approach uses multi-stage prompting techniques (vanilla, chain-of-thought, and actor-based variants) with intermediate reasoning tracking and comparative evaluation. Includes Jupyter tutorials and documented sample outputs demonstrating performance on word-puzzle tasks, showing the actor-based approach achieving zero incorrect guesses versus baseline methods requiring multiple correction attempts.
No commits in the last 6 months.
Stars
46
Forks
3
Language
Python
License
MIT
Category
Last pushed
Nov 11, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/colindoyle0000/llms-as-method-actors"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
dottxt-ai/outlines
Structured Outputs
takashiishida/arxiv-to-prompt
Transform arXiv papers into a single LaTeX source that can be used as a prompt for asking LLMs...
microsoft/promptpex
Test Generation for Prompts
AI-secure/aug-pe
[ICML 2024 Spotlight] Differentially Private Synthetic Data via Foundation Model APIs 2: Text
Spr-Aachen/LLM-PromptMaster
A simple LLM-Powered chatbot software.