prompts  by lijigang

Structured prompts for LLMs

created 2 years ago
622 stars

Top 53.9% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides a collection of structured prompts designed for various large language models (LLMs). It aims to offer pre-defined prompt templates for common tasks, enabling users to achieve better and more consistent results from LLMs without extensive prompt engineering.

How It Works

The project showcases several distinct prompt structures, each tailored for a specific use case. These include prompts for logical analysis, article title generation, prompt scoring and improvement, information formatting, concept explanation via analogies, debate assistance, translation, praise generation, PlantUML diagram creation, emoji suggestion, causal chain analysis, and business model canvas analysis. Each prompt is defined with a Role, Profile, Goals, Constrains, Skills, Workflows, and Initialization to guide the LLM's behavior.

Quick Start & Requirements

  • Installation: This is a collection of prompt definitions, not a runnable application. Usage involves copying and adapting these prompt structures within an LLM interface or application.
  • Requirements: Access to a large language model capable of understanding and executing role-playing instructions.

Highlighted Details

  • Diverse Use Cases: Covers a wide range of practical applications for LLMs, from analytical tasks to creative content generation and technical diagramming.
  • Structured Prompt Design: Employs a detailed meta-prompting approach, defining specific roles, constraints, and workflows for the LLM.
  • Example-Driven: Each prompt type includes concrete examples demonstrating its intended input and output.
  • Multilingual Support: Several prompts are designed for Chinese language interaction and output, with some also supporting Japanese and English translation.

Maintenance & Community

  • Author: Arthur (lijigang)
  • Last Update: Prompts appear to have been last updated around July 2023.
  • Community: No explicit community links (Discord, Slack) are provided in the README.

Licensing & Compatibility

  • License: Not explicitly stated in the README.
  • Compatibility: Prompts are designed for LLMs and are generally compatible with any platform that can interface with such models.

Limitations & Caveats

The effectiveness of these prompts is highly dependent on the underlying LLM's capabilities and its adherence to the defined roles and constraints. Some prompts, like "吵架小能手" (Argumentative Helper), may produce offensive or inappropriate content if not used cautiously. The project is a collection of prompt templates rather than a self-contained tool.

Health Check
Last commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
52 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
2 more.

prompt-engine by microsoft

0.0%
3k
NPM library for LLM prompt engineering
created 3 years ago
updated 2 years ago
Feedback? Help us improve.