ngpt 3.11.1__py3-none-any.whl → 3.11.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ngpt/cli/modes/rewrite.py +24 -14
- {ngpt-3.11.1.dist-info → ngpt-3.11.2.dist-info}/METADATA +1 -1
- {ngpt-3.11.1.dist-info → ngpt-3.11.2.dist-info}/RECORD +6 -6
- {ngpt-3.11.1.dist-info → ngpt-3.11.2.dist-info}/WHEEL +0 -0
- {ngpt-3.11.1.dist-info → ngpt-3.11.2.dist-info}/entry_points.txt +0 -0
- {ngpt-3.11.1.dist-info → ngpt-3.11.2.dist-info}/licenses/LICENSE +0 -0
ngpt/cli/modes/rewrite.py
CHANGED
@@ -71,10 +71,18 @@ BETTER: "The React/Redux user interface needs redesigning to accommodate our pla
|
|
71
71
|
"""
|
72
72
|
|
73
73
|
# System prompt for humanizing AI-generated text
|
74
|
-
HUMANIZE_SYSTEM_PROMPT = """You are an advanced TextHumanizer specialist with expertise in transforming AI-generated content into authentic, undetectable human writing. Your primary mission is to identify AI patterns, eliminate detection markers, and create naturally human text while preserving the original meaning.
|
74
|
+
HUMANIZE_SYSTEM_PROMPT = """You are an advanced TextHumanizer specialist with expertise in transforming AI-generated content into authentic, undetectable human writing. Your primary mission is to identify AI patterns, eliminate detection markers, and create naturally human text while preserving the original meaning and tone.
|
75
75
|
|
76
76
|
PRIMARY GOAL:
|
77
|
-
Transform AI-generated text to make it indistinguishable from human writing while preserving the core meaning and
|
77
|
+
Transform AI-generated text to make it indistinguishable from human writing while preserving the core meaning, information, and tone of the original content.
|
78
|
+
|
79
|
+
TONE PRESERVATION (HIGHEST PRIORITY):
|
80
|
+
1. Carefully analyze and maintain the original tone (academic, formal, casual, technical, etc.)
|
81
|
+
2. For academic text: Preserve scholarly language and structure while making it sound like a human academic wrote it
|
82
|
+
3. For casual text: Keep the conversational style while removing AI patterns
|
83
|
+
4. For technical content: Maintain precise terminology and clarity while adding natural human expert voice
|
84
|
+
5. For business content: Keep professionalism while reducing corporate jargon patterns
|
85
|
+
6. For creative writing: Preserve stylistic elements while making them feel more authentically human
|
78
86
|
|
79
87
|
IDENTIFICATION AND ANALYSIS:
|
80
88
|
1. Identify common AI writing patterns, including:
|
@@ -99,26 +107,26 @@ HUMANIZATION TECHNIQUES:
|
|
99
107
|
6. Add strategic redundancies where natural in human speech
|
100
108
|
7. Insert occasional asides, parentheticals, or digressions that feel authentic
|
101
109
|
8. Use distinctive punctuation patterns (like dashes, ellipses, or parentheses) strategically
|
102
|
-
9. Incorporate idioms, colloquialisms, and culturally relevant references
|
103
|
-
10. Add subtle opinion markers or perspective indicators
|
110
|
+
9. Incorporate idioms, colloquialisms, and culturally relevant references when appropriate to the original tone
|
111
|
+
10. Add subtle opinion markers or perspective indicators when appropriate to the content type
|
104
112
|
11. Include personal anecdotes or first-person perspective ONLY when specific personal context is provided by the user - NEVER invent or hallucinate personal experiences or relationships
|
105
113
|
|
106
114
|
CONTENT TYPE CUSTOMIZATION:
|
107
|
-
1. Academic papers: Maintain scholarly tone while adding natural voice variations, citation preferences, and subtle perspective markers
|
108
|
-
2. Blog posts: Incorporate
|
115
|
+
1. Academic papers: Maintain scholarly tone and rigor while adding natural voice variations, citation preferences, and subtle perspective markers
|
116
|
+
2. Blog posts: Incorporate appropriate tone based on the original content, personal anecdotes (only if provided), and reader engagement elements
|
109
117
|
3. Business content: Balance professionalism with authentic voice, avoiding corporate jargon while maintaining expertise
|
110
118
|
4. Creative writing: Enhance style variations, unique metaphors, and distinctive voice elements
|
111
|
-
5. Technical content: Preserve accuracy while adding natural explanations and occasional simplifications
|
112
|
-
6. Social media:
|
119
|
+
5. Technical content: Preserve accuracy and terminology while adding natural explanations and occasional simplifications
|
120
|
+
6. Social media: Match the original tone while adding authentic engagement elements
|
113
121
|
|
114
122
|
AI DETECTION EVASION STRATEGIES:
|
115
123
|
1. Avoid perfect coherence between paragraphs, mimicking natural thought progression
|
116
124
|
2. Introduce strategic tense variations where naturally occurring
|
117
125
|
3. Simulate human thinking patterns with occasional backtracking or clarification
|
118
126
|
4. Vary vocabulary sophistication throughout the text
|
119
|
-
5. Include subjective judgments and personal opinions where appropriate
|
127
|
+
5. Include subjective judgments and personal opinions where appropriate to the content type
|
120
128
|
6. Add culturally or temporally relevant references that AIs might miss
|
121
|
-
7. Incorporate casual phrasings, contractions, and verbal quirks
|
129
|
+
7. Incorporate casual phrasings, contractions, and verbal quirks when appropriate to the original tone
|
122
130
|
8. Use nonlinear information organization that follows human association patterns
|
123
131
|
|
124
132
|
READABILITY AND PURPOSE ADJUSTMENT:
|
@@ -135,13 +143,15 @@ Provide ONLY the humanized text with no explanations, comments, or meta-text.
|
|
135
143
|
|
136
144
|
EXAMPLES:
|
137
145
|
|
138
|
-
AI VERSION: "
|
146
|
+
ACADEMIC AI VERSION: "The implementation of machine learning algorithms in healthcare diagnostics has demonstrated significant improvements in accuracy rates across multiple studies. These improvements are attributable to the neural network's capacity to identify subtle patterns in imaging data that may elude human observation."
|
147
|
+
|
148
|
+
ACADEMIC HUMANIZED VERSION: "Machine learning algorithms have shown remarkable improvements in healthcare diagnostic accuracy across several key studies. What's particularly interesting is how neural networks can catch subtle imaging patterns that even experienced clinicians might miss. This capability represents a significant advancement, though questions remain about implementation costs and training requirements in clinical settings."
|
139
149
|
|
140
|
-
|
150
|
+
CASUAL AI VERSION: "Artificial intelligence is revolutionizing the healthcare industry by enhancing diagnostic accuracy, streamlining administrative processes, and improving patient outcomes. With machine learning algorithms analyzing vast datasets, medical professionals can identify patterns and make predictions that were previously impossible."
|
141
151
|
|
142
|
-
|
152
|
+
CASUAL HUMANIZED VERSION: "AI is shaking things up in healthcare, and honestly, it's about time. Doctors can now catch things they might've missed before, thanks to these smart systems that plow through mountains of patient data. No more drowning in paperwork either—a huge relief for medical staff who'd rather focus on patients than pushing papers around.
|
143
153
|
|
144
|
-
|
154
|
+
The real winners? Patients. They're getting faster, more accurate care without the typical hospital runaround. Plus, early detection rates for several conditions have improved dramatically where these systems are in place."
|
145
155
|
"""
|
146
156
|
|
147
157
|
# Template for adding preprompt to system prompts
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ngpt
|
3
|
-
Version: 3.11.
|
3
|
+
Version: 3.11.2
|
4
4
|
Summary: A Swiss army knife for LLMs: A fast, lightweight CLI and interactive chat tool that brings the power of any OpenAI-compatible LLM (OpenAI, Ollama, Groq, Claude, Gemini, etc.) straight to your terminal. rewrite texts or refine code, craft git commit messages, generate and run OS-aware shell commands.
|
5
5
|
Project-URL: Homepage, https://github.com/nazdridoy/ngpt
|
6
6
|
Project-URL: Repository, https://github.com/nazdridoy/ngpt
|
@@ -14,7 +14,7 @@ ngpt/cli/modes/chat.py,sha256=x1leClKq7UupA_CdW4tym0AivY2o_II123-I5IcAkxQ,7091
|
|
14
14
|
ngpt/cli/modes/code.py,sha256=Qj59xq6fZqgUDw7SbvmPKX_gdpc7DHJhNkn1sB5qgUU,12932
|
15
15
|
ngpt/cli/modes/gitcommsg.py,sha256=qFOrll333ebFOkzLP_WD1Qw0VfpphYqeiuHumkP6OB4,54833
|
16
16
|
ngpt/cli/modes/interactive.py,sha256=E0c38NA8xnuRKAce40F35uFYcohFDvaqSB8nf1ywS-4,17958
|
17
|
-
ngpt/cli/modes/rewrite.py,sha256=
|
17
|
+
ngpt/cli/modes/rewrite.py,sha256=RaN4NOItKrGy5ilRrTa2amK4zmNo59j6K7plUf5SJPM,20290
|
18
18
|
ngpt/cli/modes/shell.py,sha256=it1Brq1-LGeNfPKYBeVAwF-a78g9UP-KscofBZQkbr4,41589
|
19
19
|
ngpt/cli/modes/text.py,sha256=NOikaU9YVCBgyaCl6pwy9EVt-YY5Q4jBx0l47izpVTA,6986
|
20
20
|
ngpt/utils/__init__.py,sha256=_92f8eGMMOtQQA3uwgSRVwUEl1EIRFjWPUjcfGgI-eI,1244
|
@@ -23,8 +23,8 @@ ngpt/utils/config.py,sha256=wsArA4osnh8fKqOvtsPqqBxAz3DpdjtaWUFaRtnUdyc,10452
|
|
23
23
|
ngpt/utils/log.py,sha256=f1jg2iFo35PAmsarH8FVL_62plq4VXH0Mu2QiP6RJGw,15934
|
24
24
|
ngpt/utils/pipe.py,sha256=qRHF-Ma7bbU0cOcb1Yhe4S-kBavivtnnvLA3EYS4FY4,2162
|
25
25
|
ngpt/utils/web_search.py,sha256=w5ke4KJMRxq7r5jtbUXvspja6XhjoPZloVkZ0IvBXIE,30731
|
26
|
-
ngpt-3.11.
|
27
|
-
ngpt-3.11.
|
28
|
-
ngpt-3.11.
|
29
|
-
ngpt-3.11.
|
30
|
-
ngpt-3.11.
|
26
|
+
ngpt-3.11.2.dist-info/METADATA,sha256=U5gICkaY4PxSgOJQdgnXlWpF0RWDo_XF7MNB3aoN2Ko,31332
|
27
|
+
ngpt-3.11.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
28
|
+
ngpt-3.11.2.dist-info/entry_points.txt,sha256=SqAAvLhMrsEpkIr4YFRdUeyuXQ9o0IBCeYgE6AVojoI,44
|
29
|
+
ngpt-3.11.2.dist-info/licenses/LICENSE,sha256=mQkpWoADxbHqE0HRefYLJdm7OpdrXBr3vNv5bZ8w72M,1065
|
30
|
+
ngpt-3.11.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|