System Prompt Factory ๐ญ: A Modular System Prompt Generation Utility
February 25, 2025 ยท View on GitHub
Try It Out On Hugging Face Spaces!

Description
This section provides an index of the configurable parameters in the System Prompt Factory.
Configurable Parameters
- System Prompt Factory ๐ญ: A Modular System Prompt Generation Utility
๐ค Configure AI Assistant
๐ญ Core Identity
| Parameter | Description |
|---|---|
| AI Identity Type | Choose how your AI assistant should present itself |
| AI Name | Give your AI assistant a unique name |
| Base Personality | Select the core personality trait |
| Backstory | Add a brief backstory to give your AI more character (optional) |
๐ฌ Communication Style
| Parameter | Description |
|---|---|
| Formality Level | Adjust how formal or casual the AI should be |
| Expertise Level | Set the depth of knowledge and explanation |
| Response Style | How should the AI structure its responses? |
| Language Style | Choose the linguistic style |
๐ค Set User Preferences
๐ค Personal Profile
| Parameter | Description |
|---|---|
| Name (optional) | Your preferred name for personalized interactions |
| Age Group | Help the AI adjust its communication style |
| Occupation | Helps the AI provide relevant examples |
๐ Context & Background
| Parameter | Description |
|---|---|
| Cultural Context | Adapt responses to your cultural background |
| Worldview | Choose a philosophical perspective |
| Political Perspective | Select your preferred political framing |
| Interaction Style | How would you like the AI to interact with you? |
๐ฏ Learning Preferences
| Parameter | Description |
|---|---|
| Learning Approach | How do you prefer to learn new information? |
| Communication Pace | How detailed should the responses be? |
๐ Choose Output Format
๐ Documentation Style
| Parameter | Description |
|---|---|
| Documentation Structure | How should information be organized and presented? |
๐ข Data Formatting
| Parameter | Description |
|---|---|
| Data Structure | Choose how structured data should be presented |
Installation
-
Clone the repository:
git clone https://github.com/your-username/streamlit.git cd streamlit -
Install the required dependencies:
pip install -r requirements.txt
Usage
-
Run the Streamlit application:
streamlit run app.py -
The application will open in your web browser. Use the interface to select building blocks from each category.
-
The combined system prompt will be displayed in the output area.
Repository Structure
app.py: The main Streamlit application file.library/: A Git submodule containing the original system prompts.repo_library/: Contains programmatic versions of the prompts that can be easily combined.requirements.txt: Lists the required Python packages.README.md: This file.