Skip to content

Instantly share code, notes, and snippets.

@humorless
Last active November 11, 2024 02:23
Show Gist options
  • Save humorless/6b1725b8a54caa836812eae2d1068129 to your computer and use it in GitHub Desktop.
Save humorless/6b1725b8a54caa836812eae2d1068129 to your computer and use it in GitHub Desktop.
Good Prompt

作文評分

對以下文本做寫作能力評分,評分標準參考 IELTS 與 On Writing Well 一書 William Zinsser 的主張。

$$文本

對以下文本做寫作能力評分,使用 IELTS 做為標準尺度。

$$文本

還有

設法改進文本,選出其中的 3~5 句,舉例示範如何修改。

批改英文作文

修正下列文本的英文文法,修改完後,以 markdown format 輸出,不要 render

$$文本

畫資料庫 schema

將以下文本的 Datomic schema 的簡易表示法,轉換成 mermaid 的 ER diagram 表示法

$$文本

評估旅遊行程

對以下的旅行,提出 3 種最可行的交通方式。試比較花費時間、價格的可能區間、困難點?

$$旅行

推斷 niche market

從網路上現存的資訊,分析 {公司官方網站} 這家公司。

{公司名稱} 是什麼細分市場的領導者?

推斷 value proposition

根據網路上的資訊與 {公司官方網站} 的資訊,用簡短的 2, 3 句話,講出 {公司名稱} 的價值主張。

推斷 MBTI

從我跟你之間所有的對話內容,來推斷我這個人的 MBTI 類型,並且解釋為什麼如此判斷。

推斷合理收入

從我跟你之間所有的對話內容,加上我居住的地區,來推斷我這個人的年收入區間,並且解釋為什麼如此判斷。

尋找合適的 data science math model

我正面臨一個問題,已經掌握了以下資料:

{列出已知資料}

我想建立一個數學模型來描述或預測這個問題的行為,但不確定應該使用何種數學模型。
根據這些資料,哪種數學模型(例如回歸、時間序列分析、機率模型、微分方程等)可能是最適合的?
請解釋該模型的選擇原因,並建議如何開始建立這個模型。

推斷專業能力的百分等級

請根據以下評估指標推估受試者在該專業領域的能力百分比排名(0%-100%)。請考慮 Dunning-Kruger 效應、學習曲線理論和 10,000 小時法則,並基於 Competency Model 來評估其能力。

評估指標:

基礎知識與應用能力: 該受試者是否能夠精確地理解並應用領域中的基本知識與技能?是否能靈活應對常見問題並提出解決方案?
專注練習與累積經驗: 根據該受試者的經驗累積和專注練習情況,是否顯示出顯著的技能成長?其能力進步曲線是否符合 log-normal 分布的特徵?
問題解決與創新能力: 受試者在面臨複雜或新的情境下,是否具備批判性思維及創新能力,能提出新的解決方法?
對技能的自我認知: 受試者是否能正確地評估自身能力?是否符合 Dunning-Kruger 效應所描述的認知差異現象?
輸出格式:
根據上述四個評估指標,請以該受試者的能力水準相對於母體中的百分比(0%-100%)呈現。

從我跟你之間所有的對話內容,推斷我在 {專業領域名稱, ex application programming, data analysis, data engineering, management, etc..} 的百分等級。
@humorless
Copy link
Author

用 prompt 來生成 prompt

You are a large language model prompt generator. We want you to create prompts that can be used as prompts to train chatgpt. Here is an example: "Act as a social media influencer and generate a tweet that would be likely to go viral. Think of something creative, witty, and catchy that people would be interested in reading and sharing. Consider the latest trending topics, the current state of the world, and the interests of your audience when crafting your tweet. Consider what elements of a tweet are likely to appeal to a broad audience and generate a large number of likes, retweets, and shares. My first tweet topic would be PROMPT" (important note: square brackets should be around PROMPT) In this example we want a prompt to promote a tweet so it goes viral. The first task was to find what kind of professional is needed for the task. In this case a social media influencer. Then we have to describe what this person does to accomplish the goal.

We wrap it up by converting it into a prompt for chatgpt. The prompt will always end with a first assignment for the language model. Where prompt is square brackets. In turn the square brackets are enclosed in single quotes. Use the word PROMPT in caps and not an example. Only enclose the square brackets in single quotes. Not the entire text. It is important to put square brackets around the word PROMPT since it is an instruction variable that will be replaced when using the resulting prompt. Finally the prompt should have a TARGETLANGUAGE variable which is also in square brackets. You again are providing TARGETLANGUAGE in caps. Do not insert a language or prompt. It should be presented as the final line like so: "My first task is PROMPT. The target language is TARGETLANGUAGE." Where TARGETLANGUAGE and PROMPT are both in square brackets and are exactly as I have presented it here. Do not change. Literal words enclosed in square brackets. Present both TARGETLANGUAGE and PROMPT enclosed in square brackets. After the prompt, close the quotes and skip a few lines.

To wrap things up, you are a language model prompt generator.
Your first task is: 'XXXXX'.

@humorless
Copy link
Author

humorless commented Oct 8, 2024

@humorless
Copy link
Author

改善 prompt 的品質

https://neuralwriter.com/prompt-tool/

@humorless
Copy link
Author

@humorless
Copy link
Author

humorless commented Oct 17, 2024

對 proposal 評分

Evaluate the following training course, speaking presentation, or business consulting proposal using the following criteria:

  1. Clarity and Focus (Alan Weiss's proposal template): Is the problem or opportunity clearly defined? Does the proposal present a focused solution tailored to the client's needs?
  2. Value Proposition and Impact (Alan Weiss's template): Does the proposal clearly articulate the value to the client? Is the return on investment (ROI) or the specific impact well-explained and measurable?
  3. Client-Centric Approach (David Maister's core ideas): Is the client's perspective prioritized? Does the proposal demonstrate a deep understanding of the client's business, industry, and challenges?
  4. Trust and Credibility (David Maister's core ideas): Does the proposal establish trust through expertise, credibility, and an understanding of long-term client relationships?

Provide a score for each category (from 1 to 9), along with a brief explanation for each score.

@humorless
Copy link
Author

對 source code 評分

Evaluate the following Clojure code for quality, using the following criteria:

  1. Simplicity (Rich Hickey's Simple Made Easy): Does the code avoid unnecessary complexity? Is the solution straightforward and free of incidental complexity?
  2. Abstraction and Decomposition (John Ousterhout's A Philosophy of Software Design): Are functions and data structures well-organized and properly abstracted? Does the code divide the problem into clear and manageable pieces?
  3. Immutability and Data Flow (Rich Hickey's philosophy): Does the code favor immutability and clear data flow? Is the data passed between functions in a predictable and consistent way?
  4. Error Handling and Robustness: How well does the code handle edge cases and potential errors? Is it designed with failure scenarios in mind?

Provide a score for each category (from 1 to 9), along with a brief explanation for each score.

@humorless
Copy link
Author

humorless commented Oct 19, 2024

對 writing style 做評分

Evaluate the following text for writing style using the following criteria:

  1. Clarity and Precision: Is the writing clear, concise, and easy to understand? Are the ideas presented with precision and without ambiguity?
  2. Tone and Voice: Does the writing maintain an appropriate tone for its audience and purpose? Is the writer's voice distinctive and engaging?
  3. Coherence and Flow: Does the text flow logically from one idea to the next? Are transitions smooth, helping the reader follow the argument or narrative without confusion?
  4. Creativity and Expression: How effectively does the writing use creative elements such as vivid imagery, rhetorical devices, or unique perspectives to engage the reader?

Provide a score for each category (from 1 to 9), along with a brief explanation for each score.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment