bhavnicksm commited on
Commit
cca7b2d
Β·
verified Β·
1 Parent(s): 0d4b4e6

Initialize promptlie repository

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - prompts
5
+ - ai
6
+ - prompt-management
7
+ - promptlie
8
+ ---
9
+
10
+ ![Promptlie Logo](https://raw.githubusercontent.com/bhavnick/promptlie/main/assets/promptlie.png)
11
+
12
+ # πŸ•ŠοΈ bhavnicksm's Prompts
13
+
14
+ This private repository contains prompts managed by [**promptlie**](https://github.com/bhavnick/promptlie) - a free, open-source solution for prompt management using Hugging Face Hub.
15
+
16
+ ## πŸ“‚ Repository Structure
17
+
18
+ ```
19
+ prompts/
20
+ β”œβ”€β”€ prompt-name-1.json
21
+ β”œβ”€β”€ prompt-name-2.json
22
+ └── ...
23
+ ```
24
+
25
+ Each prompt is stored as a JSON file containing:
26
+ - **content**: The actual prompt text
27
+ - **metadata**: Author, version, performance metrics, etc.
28
+ - **fields**: Template variables for dynamic prompts
29
+ - **tags**: Organization and discovery
30
+ - **version**: Prompt versioning for iteration
31
+
32
+ ## πŸš€ Using These Prompts
33
+
34
+ ```python
35
+ from promptlie import Promptlie
36
+
37
+ # Connect to this repository
38
+ store = Promptlie("bhavnicksm")
39
+
40
+ # Load a prompt
41
+ prompt = store.get("prompt-name")
42
+ print(prompt.content)
43
+
44
+ # Use with variables
45
+ filled_prompt = prompt.content.format(**your_data)
46
+ ```
47
+
48
+ ## 🎯 Want Your Own Prompt Repository?
49
+
50
+ Get started with **promptlie** in 2 minutes:
51
+
52
+ ```bash
53
+ pip install promptlie
54
+ ```
55
+
56
+ ```python
57
+ from promptlie import Promptlie, Prompt
58
+
59
+ # Create your store
60
+ store = Promptlie("your-username", api_key="your-hf-token")
61
+ store.init() # Creates your repository
62
+
63
+ # Add prompts
64
+ prompt = Prompt(
65
+ name="my-prompt",
66
+ content="Hello {name}, welcome to {app}!",
67
+ fields=["name", "app"],
68
+ tags=["greeting", "onboarding"]
69
+ )
70
+
71
+ store.publish("my-prompt", prompt)
72
+ ```
73
+
74
+ ✨ **Free forever** β€’ πŸ”’ **Private & public repos** β€’ πŸ“ **Version control**
75
+
76
+ ---
77
+
78
+ *Powered by [promptlie](https://github.com/bhavnick/promptlie) & [Hugging Face Hub](https://huggingface.co/docs/hub)*