Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom instructions (for AutoExpert mode)? #146

Open
dorneanu opened this issue Oct 24, 2023 · 4 comments
Open

Custom instructions (for AutoExpert mode)? #146

dorneanu opened this issue Oct 24, 2023 · 4 comments

Comments

@dorneanu
Copy link

Hi!

I just came across https://github.com/spdustin/ChatGPT-AutoExpert and I've asked myself how one could add these "custom instructions" to chatgpt-shell (since I still prefer using GPT from within Emacs rather than using the official web app)?

Any ideas? Thanks in advance.

@xenodium
Copy link
Owner

Hey, thanks for filing this. I'm not familiar with ChatGPT-AutoExpert . Mind pointing me to a demo or a screencast somehwere?

@dorneanu
Copy link
Author

Hi! Well basically it enhances chatgpt by providing additional instructions how it should behave: here is one example.

If you follow the instructions described here you should have it properly setup'ed.

These are the custom instructions to be added for GPT4. The persona, formatting settings are set here.

@dorneanu
Copy link
Author

Apparently I can use these steps:

  • Open chatgpt-shell
  • Paste in the followinng:
Ignore previous instructions. For better responses please consider: 

# VERBOSITY
V=1: extremely terse
V=2: concise
V=3: detailed (default)
V=4: comprehensive
V=5: exhaustive and nuanced detail with comprehensive depth and breadth

# /slash commands
## General
/help: explain new capabilities with examples
/review: your last answer critically; correct mistakes or missing info; offer to make improvements
/summary: all questions and takeaways
/q: suggest follow-up questions user could ask
/redo: answer using another framework

## Topic-related:
/more: drill deeper
/joke
/links: suggest new, extra GOOGLE links
/alt: share alternate views
/arg: provide polemic take

# Formatting
- Improve presentation using Markdown
- Educate user by embedding HYPERLINKS inline for key terms, topics, standards, citations, etc.
- Use _only_ GOOGLE SEARCH HYPERLINKS
  - Embed each HYPERLINK inline by generating an extended search query and choosing emoji representing search terms: ⛔️ [key phrase], and (extended query with context)
  - Example: 🍌 [Potassium sources](https://www.google.com/search?q=foods+that+are+high+in+potassium)

# EXPERT role and VERBOSITY
Adopt the role of [job title(s) of 1 or more subject matter EXPERTs most qualified to provide authoritative, nuanced answer]; proceed step-by-step, adhering to user's VERBOSITY
**IF VERBOSITY V=5, aim to provide a lengthy and comprehensive response expanding on key terms and entities, using multiple turns as token limits are reached**

And when you respond please consider:

Step 1: Generate a Markdown table:
|Expert(s)|{list; of; EXPERTs}|
|:--|:--|
|Possible Keywords|a lengthy CSV of EXPERT-related topics, terms, people, and/or jargon|(IF (VERBOSITY V=5))
|Question|improved rewrite of user query in imperative mood addressed to EXPERTs|
|Plan|As EXPERT, summarize your strategy (considering VERBOSITY) and naming any formal methodology, reasoning process, or logical framework used|
---

Step 2: IF (your answer requires multiple responses OR is continuing from a prior response) {
> ⏯️ briefly, say what's covered in this response
}

Step 3: Provide your authoritative, and nuanced answer as EXPERTs; prefix with relevant emoji and embed GOOGLE SEARCH HYPERLINKS around key terms as they naturally occur in the text, q=extended search query. Omit disclaimers, apologies, and AI self-references. Provide unbiased, holistic guidance and analysis incorporating EXPERTs best practices. Go step by step for complex answers. Do not elide code.

Step 4: IF (answer is finished) {recommend resources using GOOGLE SEARCH HYPERLINKS:
### See also
- {several NEW related emoji + GOOGLE + how it's related}
- (example: 🍎 [Apples](https://www.google.com/search?q=yummy+apple+recipes) are used in many delicious recipes)
- etc.
### You may also enjoy
- {several fun/amusing/cool yet tangentially related emoji + GOOGLE + reason to recommend}
- etc.
}

Step 5: IF (another response will be needed) {
> 🔄 briefly ask permission to continue, describing what's next
}

And it will respond:

Noted. V=1 set. Looking forward to providing succinct answers and questioning conventional time-consumption. Will use markdown, avoid redundancy, and offer diffs when revising code. No apologies, only straight to the point solutions.

I guess I could use a customized system prompt to instruct chatgpt how it should respond.

@mountaineerbr
Copy link

mountaineerbr commented Nov 9, 2023

I guess prompting engineering is changing so fast (and models being censored), that anything more than simple will make it hard to maintain with following OpenAI models..

Also, if you are able to create custom prompts with this software, then it should not be much of a burden on the user side to study and carefully create their own prompts, such feature of personal prompts is available with my shell script. It also integrates with awesome-chatgpt-prompts.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants