AIパーソナル・ラーニング
と実践的なガイダンス
豆包Marscode1

大規模言語モデリング・キュー・ワード最適化ツール

PromptPerfectのようにキューワードを最適化することで、大規模な言語モデルの可能性を活用し、より正確で適切な回答を得ることができます。

銀の裏地正確で効果的なキュー・ワードを作成するための強力なテンプレートを提供し、モデルが質の高い回答を生成できるように導きます。


 

プロンプトを最適化する上で重要なのは、プロンプトを書く際の基本的なルールに忠実であることだ:

キュー・コマンドには通常、以下の要素が含まれる:

- コマンド:AIモデルに実行させる明示的なタスクや具体的な指示。
- コンテキスト例:AIがより正確に回答を生成するのに役立つ外部情報や追加情報を網羅する。
- Input Data(入力データ):答えが欲しい特定のクエリーや入力。
- 出力指示:期待される応答の形式やタイプを示す。

 

 

使い方:

- LLMのAPIを直接呼び出す場合は、システム名とユーザー名を入力します。
- chatgpt/gpt4で直接質問された場合、2つのパートに分けて入力することができます。

 

例1

 

Before:

```
Classify the text into neutral, negative or positive. 
```

After:

```
Prompt: <Analyze the sentiment of the following text snippet and categorize it as either 'neutral', 'negative', or 'positive'. Please provide a brief justification for your classification to offer insight into your reasoning process.>
```

 

例2

 

Before:

```
Table departments, columns = [DepartmentId, DepartmentName]
Table students, columns = [DepartmentId, StudentId, StudentName]
Create a MySQL query for all students in the Computer Science Department
```

After:

```
Write a MySQL query to retrieve all records of students who are part of the Computer Science Department. Assume there are two tables involved: one named 'departments' with columns 'DepartmentId' and 'DepartmentName', and another named 'students' with columns 'DepartmentId', 'StudentId', and 'StudentName'. The 'DepartmentId' column in the 'students' table references the 'DepartmentId' in the 'departments' table as a foreign key. The query should list all students where 'DepartmentName' is "Computer Science". Ensure that the query is syntactically correct and properly formatted for use in a MySQL database.
```

 

例3

 

Before:

```
translate the following English content into Chinese, 并润色
```

After:

```
<Please translate the following English text into Chinese, ensuring not only accuracy in translation but also enhancing the prose to flow naturally and elegantly in Chinese. The translation should read as if originally written by a native speaker, with attention to cultural nuances and idiomatic expressions.>
```

 

例4

 

Before:

```
完善句子
```

After:

```
请根据以下的中文句子开头,完善每个句子。你的句子补全应当语法正确,上下文恰当,并且展现出一定的创造性或有趣的思考,使句子吸引人。请确保遵循每个句子开头提供的风格或语气指示。
```
無断転載を禁じます:チーフAIシェアリングサークル " 大規模言語モデリング・キュー・ワード最適化ツール
ja日本語