> For the complete documentation index, see [llms.txt](https://shusukes-organization.gitbook.io/shunsukepuronputodezain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shusukes-organization.gitbook.io/shunsukepuronputodezain/readme.md).

# プロンプトエンジニアリングガイド

[![Built by 合同会社みやび](https://img.shields.io/badge/Built%20by-%E5%90%88%E5%90%8C%E4%BC%9A%E7%A4%BE%E3%81%BF%E3%82%84%E3%81%B3-blue?style=flat-square\&logo=github)](https://miyabi-ai.jp)

***

### description: ハヤシシュンスケによるプロンプトエンジニアリングガイド

## プロンプトエンジニアリングガイド

プロンプトエンジニアリングは、言語モデル（LMs）を効率的に使用するためのプロンプトを開発および最適化する比較的新しい学問分野です。プロンプトエンジニアリングのスキルを身につけることで、大規模言語モデル（LLMs）の能力と限界をより理解することができます。

研究者は、プロンプトエンジニアリングを使用して、質問応答や算術推論などの一般的なおよび複雑なタスクのLLMsの能力を向上させます。開発者は、LLMsやその他のツールとのインタフェースとなる強固で効果的なプロンプテクニックを設計するためにプロンプトエンジニアリングを使用します。

プロンプトエンジニアリングは、プロンプトの設計と開発に限らず、LLMsとのインタラクションおよび開発に役立つ幅広いスキルと技術を含みます。これは、LLMsとインタフェースすること、ビルドすること、能力を理解することに重要なスキルであり、LLMsの安全性を向上させたり、ドメイン知識や外部ツールを使用してLLMsの機能を拡張するためにプロンプトエンジニアリングを使用できます。

このガイドでは、以下の内容を学ぶことができます：

* プロンプトエンジニアリングの基礎と応用
* 最新の技術と手法
* 実践的な例と演習
* ベストプラクティスとガイドライン
* 安全性と倫理的考慮事項

### 目的

このガイドの目的は、プロンプトエンジニアリングの包括的な理解を提供し、実践的なスキルを身につけることです。初心者から上級者まで、それぞれのレベルに応じた内容を提供します。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://shusukes-organization.gitbook.io/shunsukepuronputodezain/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
