Sorry, this page is no longer available
Sorry, this page is no longer available
Sorry, this page is no longer available
Sorry, this page is no longer available
We may earn an affiliate commission when you visit our partners.
Course image
しま (大嶋勇樹)

2022 年末に公開されて以来、「ChatGPT」は一般にも知られるキーワードとなり、非常に盛り上がっています。

ChatGPT が使っている GPT-3.5 や GPT-4 などのモデルは、「大規模言語モデル(LLM:Large Language Model)」と呼ばれます。

ChatGPT の API を使ったアプリケーションの開発も注目されており、多くの組織が取り組むようになっています。

ChatGPT の API など、LLM を使ったアプリケーションの例としてはチャットボットが定番です。

しかし、LLM が役立つ可能性があるのはチャットボットだけではなく、様々なアプリケーションへの応用が考えられます。

この講座では、単なるチャットボットではない LLM の応用例として、5 つのアプリケーションの実装に挑戦します。

コースで実装するのは、以下の 5 つのアプリケーションです。

Read more

2022 年末に公開されて以来、「ChatGPT」は一般にも知られるキーワードとなり、非常に盛り上がっています。

ChatGPT が使っている GPT-3.5 や GPT-4 などのモデルは、「大規模言語モデル(LLM:Large Language Model)」と呼ばれます。

ChatGPT の API を使ったアプリケーションの開発も注目されており、多くの組織が取り組むようになっています。

ChatGPT の API など、LLM を使ったアプリケーションの例としてはチャットボットが定番です。

しかし、LLM が役立つ可能性があるのはチャットボットだけではなく、様々なアプリケーションへの応用が考えられます。

この講座では、単なるチャットボットではない LLM の応用例として、5 つのアプリケーションの実装に挑戦します。

コースで実装するのは、以下の 5 つのアプリケーションです。

  1. JSON 形式の文字列の生成(例:レシピ生成アプリ)

  2. テキストからの属性抽出(例:ブログ記事への自動タグ付け)

  3. 独自データの検索結果を踏まえた Q&A(例:PDF への Q&A)

  4. 自然言語から SQL を生成・実行

  5. AI エージェント(例:スケジュール管理の AI アシスタント)

Python で Web アプリを簡単に実装できる「Streamlit」を使い、これらのアプリケーションをできるだけシンプルに実装していきます。

■このコースで学ぶこと

  • このコースで学ぶのは、ChatGPT の API の「チャットボット以外の応用例」です

  • Streamlit を使い、簡易的に Web アプリケーションを実装していきます

  • LangChain や LlamaIndex といった有名なフレームワークにも少しふれます

■このコースで学ばないこと

  • チャットボットを実装する例

  • LangChain や LlamaIndex の使い方や仕組みの詳細

  • 本番システムを意識したシステムの構築や評価

  • LLM や機械学習自体の仕組み

このコースは、LLM のチャットボット以外の応用例を知り、受講者の方が自分なりのアイデアに繋げることを目標としています。

更新履歴

  • 2023/10/19:レクチャー「(追記)Zapier NLA の廃止について」を追加

  • 2023/10/30:レクチャー「(追記)init_sqlite の不備について」を追加

  • 2023/11/06:

    • セクション「【新】AI エージェント(例:スケジュール管理の AI アシスタント)」を追加

    • もとのセクション「AI エージェント(例:スケジュール管理の AI アシスタント)」を【旧】に変更

  • 2023/11/20:レクチャー「(追記)画像生成に使うモデルのアップデートについて」を追加

  • 2023/11/24:レクチャー「(追記)RateLimitError について」を追加

Enroll now

What's inside

Syllabus

このコースの概要を理解します。

このコースの概要や学習すること、対象者や前提知識を確認します。

このコースを受講するときの進め方について説明します。

このコースで使う Python の開発環境のセットアップが完了します。
Read more

このコースでの Python とパッケージ管理ツールのセットアップの方針を説明します。

Python の実行環境として Visual Studio Code の Dev Containers をセットアップします。

poetry init コマンドを使い、pyproject.toml を生成して、Python での実装の準備をします。

Streamlit をインストールして、タイトルを表示するだけのページを実装します。

Dev Container に Python のフォーマッタである Black を導入します。

OpenAI の文章生成モデルや Chat Completions API の基本を学習します。

OpenAI の API を使うのに必要な、API キーを発行します。

Chat Completions API にふれる準備として、Streamlit でシンプルな入力と出力の UI を実装します。

Streamlit で Chat Completions API を呼び出す例を実装します。

Chat Completions API を使う上で重要な、トークン数と料金について学習します。

Chat Completions API の Function calling 機能の基本を学習します。

このセクションで学んだ知識を整理します。

このセクションで実装する「レシピ生成アプリ」の概要を説明します。

Streamlit でレシピ生成アプリの UI を実装します。

レシピ生成アプリの実装として、プロンプトで JSON 形式を指定して出力させるコードを実装してみます。

Function calling を使って JSON を生成する処理を実装してみます。

LLM の出力をもとに Stable Diffusion で画像を生成する処理を実装します。

このセクションで実施したことを整理して、応用例を紹介します。

このセクションで実装する「タグ付けアプリ」の概要を説明します。

Streamlit でタグ付けアプリの UI を実装します。

LangChain を使ってタグ付けの処理を実装します。

このセクションで実装する「PDF への Q&A アプリ」の概要を説明します。

Streamlit で PDF への Q&A アプリの UI を実装します。

LlamaIndex を使って PDF への Q&A の処理を実装します。

このセクションで実装する「Text-to-SQL アプリ」の概要を説明します。

Streamlit で Text-to-SQL アプリの UI を実装します。

Text-to-SQL の実装例に使うデータベースをセットアップします。

LlamaIndex を使って Text-to-SQL の処理を実装します。

このセクションで実装する「スケジュール管理の AI アシスタント」の概要を説明します。

Streamlit でスケジュール管理の AI アシスタントの UI を実装します。

Zapier NLA の概要を学び、Google カレンダーとの設定や API キーの準備を実施します。

LangChain と Zapier NLA を使った AI エージェントを実装します。

Streamlit でスケジュール管理の AI アシスタントの UI を実装します。

Make(旧 Integromat)の概要を学び、Google カレンダーとの連携設定を実施します。

LangChain と Make を使った AI エージェントを実装します。

このコースを終えたあと、さらにステップアップする方向性を紹介します。

Traffic lights

Read about what's good
what should give you pause
and possible dealbreakers
Examines innovative applications of a leading-edge tool, ChatGPT, which makes this course highly relevant to industry
Taught by industry experts, しま (大嶋勇樹), the course instructors are well-known for their contributions to the field of AI and machine learning
Develops hands-on skills in implementing practical applications of ChatGPT, making this course highly relevant to industry
Covers a range of applications, including JSON generation, attribute extraction, Q&A systems, SQL generation, and AI agents
Leverages Streamlit for simplified implementation of web applications, making this course accessible to learners regardless of their coding experience
Assumes basic familiarity with Python, which may limit accessibility for complete beginners

Save this course

Create your own learning path. Save this course to your list so you can find it easily later.
Save

Reviews summary

Chatgpt api応用アプリ開発実践

学習者によると、このコースはChatGPTのAPIを使った実用的なアプリケーション開発に焦点を当てており、特にチャットボット以外の多岐にわたる応用例を学ぶ上で非常に実践的であると評価されています。5つの具体的なアプリを通して、ハンズオンでコードを動かす経験が得られ、LLMの応用アイデアを刺激すると多くの学生が感じています。講師はコース内容を頻繁に更新しており、最新のAPI変更にも迅速に対応している点が非常に好意的に受け止められています。ただし、PythonやWebアプリの基礎知識が前提となるため、完全な初心者には難易度が高いと感じるかもしれません。
Streamlitを使ったデモで手軽に試せます。
"Streamlitを使ったデモも分かりやすく、すぐに動かせました。"
"Streamlitを使った開発は初めてでしたが、シンプルなUIで試せるのが助かりました。"
"PythonでWebアプリを簡単に作れるStreamlitを使っているので、実装がシンプルでとても試しやすいと感じました。"
最新情報への対応やコース改善が積極的に行われています。
"最新のAPI変更にも対応してくれており、講師の熱意を感じました。"
"AIエージェントのセクションがアップデートされていて、最新の情報に触れられました。講師の方が活発にコースを改善されているのが素晴らしいです。"
"APIの仕様変更でコードが動かないことがあっても、更新履歴で対応してくれているので評価できます。"
ChatGPT APIの多様な応用例をハンズオンで学べます。
"ChatGPTのAPIの使い方について、チャットボット以外の応用例が具体的に学べて非常に実践的でした。特にJSON生成と独自文書Q&Aのセクションは業務で応用できそうです。"
"まさに求めていた内容でした!ChatGPTのAPIを使って何ができるのか、具体的なユースケースを知りたかったので、5つのアプリがそれぞれ異なる視点から解説されていて非常に参考になりました。"
"LLMの応用を学ぶ上で、非常に効率的なコースでした。実践的なコードが多く、すぐに自分のプロジェクトに応用できました。特に、SQL生成のセクションは目から鱗でした。"
LangChainやLlamaIndexは基本に留まります。
"LangChainやLlamaIndexの説明はもう少し深掘りしてほしかったなと感じる部分もありました。"
"このコースでは、LangChain や LlamaIndex の使い方や仕組みの詳細に深く踏み込まない、という説明通り、その基本を学べました。"
"フレームワークの基礎知識は得られましたが、それらを応用してさらに複雑なシステムを構築するための情報は、追加で学習する必要があると感じました。"
API利用料金や仕様変更への理解が必要です。
"APIの料金がかかるので、試行錯誤するには少し躊躇する部分がありました。もちろんこれはコースの問題ではないですが、受講を検討している人は知っておくと良いです。"
"たまにAPIの仕様変更でコードが動かないことがあり、その都度自分で調べる必要がありました。"
"RateLimitErrorやinit_sqlite.pyの不備など、API利用や環境構築時に注意すべき点について補足レクチャーがあり、助かりました。"
PythonやWebアプリの基礎スキルが推奨されます。
"初心者には少し難しかったです。Pythonの基礎やWebアプリの知識がないと、コードを追うのが大変かもしれません。"
"全体的には満足ですが、ある程度のプログラミング知識は必要だと感じました。"
"Streamlitの導入部分は丁寧でしたが、各アプリの実装はもう少しステップバイステップで詳細な解説があれば、初心者にも優しかったと思います。"

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in ChatGPTのAPIで5つのアプリを作ってみよう!JSON生成、属性抽出、独自文書Q&A、SQL生成、AIエージェント with these activities:
LLM の応用例リソースリストを作成
LLM の応用例に関するリソースを収集することで、LLM の可能性と、それらをどのように活用できるかについての理解を深めることができます。
Browse courses on LLM
Show steps
  • LLM の応用例を調べる
  • 関連するブログ記事、記事、リソースを収集
  • リソースを整理してリストを作成
LLM 関連のワークショップに参加
LLM 関連のワークショップに参加することで、LLM の専門知識から学び、実践的なスキルを向上させることができます。
Browse courses on LLM
Show steps
  • LLM 関連のワークショップを見つける
  • ワークショップに登録
  • ワークショップに参加して学習
Streamlit による Web アプリ開発のチュートリアルを実施
Streamlit を使用した Web アプリ開発のチュートリアルに従うことで、Streamlit の基本を学習し、Web アプリの開発スキルを向上できます。
Browse courses on Streamlit
Show steps
  • Streamlit のドキュメントを読む
  • チュートリアルを見つける
  • チュートリアルに従って Web アプリを実装
  • 簡単な Web アプリを作成する
Three other activities
Expand to see all activities and additional details
Show all six activities
他の受講生とディスカッション
他の受講生とディスカッションすることで、LLM の応用例について異なる視点を得たり、理解を深めたりできます。
Show steps
  • ディスカッションフォーラムに参加
  • 他の受講生の投稿にコメント
  • 独自の質問を投稿
LLM を活用したプロジェクトでボランティア活動
LLM を活用したプロジェクトでボランティア活動することで、LLM の社会的応用について学び、実世界のインパクトを生み出すことができます。
Browse courses on LLM
Show steps
  • LLM を活用したボランティア機会を探す
  • 応募して参加資格を得る
  • ボランティア活動に参加して、LLM を活用してプロジェクトを支援
LLM 関連のオープンソースプロジェクトに貢献
LLM 関連のオープンソースプロジェクトに貢献することで、LLM の開発における実践的な経験を積み、プロジェクトの成長に貢献できます。
Browse courses on LLM
Show steps
  • LLM 関連のオープンソースプロジェクトを見つける
  • プロジェクトのドキュメントを読む
  • 貢献の機会を特定

Career center

Learners who complete ChatGPTのAPIで5つのアプリを作ってみよう!JSON生成、属性抽出、独自文書Q&A、SQL生成、AIエージェント will develop knowledge and skills that may be useful to these careers:
Software Engineer
To be a successful Software Engineer, one must have a solid foundation in programming and data structures. This course offers a unique opportunity to learn about these topics in a practical way, by building real-world applications. The course covers a wide range of topics, from basic programming concepts to more advanced topics such as natural language processing and artificial intelligence. This knowledge will be invaluable to anyone who wants to pursue a career in software engineering.
Data Scientist
This course is an excellent way to learn about the fundamentals of data science. The course covers a wide range of topics, from data collection and cleaning to data analysis and visualization. This knowledge will be invaluable to anyone who wants to pursue a career in data science.
Machine Learning Engineer
This course is a great way to learn about the fundamentals of machine learning. The course covers a wide range of topics, from supervised learning to unsupervised learning. This knowledge will be invaluable to anyone who wants to pursue a career in machine learning engineering.
Natural Language Processing Engineer
This course is a great way to learn about the fundamentals of natural language processing. The course covers a wide range of topics, from text classification to text generation. This knowledge will be invaluable to anyone who wants to pursue a career in natural language processing engineering.
Artificial Intelligence Engineer
This course is a great way to learn about the fundamentals of artificial intelligence. The course covers a wide range of topics, from machine learning to computer vision. This knowledge will be invaluable to anyone who wants to pursue a career in artificial intelligence engineering.
Data Analyst
This course is a great way to learn about the fundamentals of data analysis. The course covers a wide range of topics, from data collection and cleaning to data analysis and visualization. This knowledge will be invaluable to anyone who wants to pursue a career in data analysis.
Business Analyst
This course can be helpful for Business Analysts who want to learn more about the technical aspects of business analysis. The course covers a wide range of topics, from data analysis to machine learning. This knowledge will be helpful for Business Analysts who want to be able to work effectively with engineers and data scientists.
Product Manager
This course can be helpful for Product Managers who want to learn more about the technical aspects of product development. The course covers a wide range of topics, from software engineering to data science. This knowledge will be helpful for Product Managers who want to be able to work effectively with engineers and data scientists.
Database Administrator
This course can be helpful for Database Administrators who want to learn more about the technical aspects of database management. The course covers a wide range of topics, from database design to database administration. This knowledge will be helpful for Database Administrators who want to be able to work effectively with engineers and data scientists.
Web Developer
This course can be helpful for Web Developers who want to learn more about the technical aspects of web development. The course covers a wide range of topics, from front-end development to back-end development. This knowledge will be helpful for Web Developers who want to be able to work effectively with engineers and data scientists.
UX Designer
This course can be helpful for UX Designers who want to learn more about the technical aspects of UX design. The course covers a wide range of topics, from user research to user interface design. This knowledge will be helpful for UX Designers who want to be able to work effectively with engineers and data scientists.
Technical Writer
This course can be helpful for Technical Writers who want to learn more about the technical aspects of technical writing. The course covers a wide range of topics, from writing documentation to writing code. This knowledge will be helpful for Technical Writers who want to be able to work effectively with engineers and data scientists.
Sales Engineer
This course can be helpful for Sales Engineers who want to learn more about the technical aspects of sales engineering. The course covers a wide range of topics, from product knowledge to sales techniques. This knowledge will be helpful for Sales Engineers who want to be able to work effectively with engineers and data scientists.
Marketing Manager
This course can be helpful for Marketing Managers who want to learn more about the technical aspects of marketing. The course covers a wide range of topics, from digital marketing to data analysis. This knowledge will be helpful for Marketing Managers who want to be able to work effectively with engineers and data scientists.
Project Manager
This course can be helpful for Project Managers who want to learn more about the technical aspects of project management. The course covers a wide range of topics, from project planning to project management software. This knowledge will be helpful for Project Managers who want to be able to work effectively with engineers and data scientists.

Reading list

We've selected 11 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in ChatGPTのAPIで5つのアプリを作ってみよう!JSON生成、属性抽出、独自文書Q&A、SQL生成、AIエージェント.
Provides a thought-provoking exploration of the potential risks and benefits of artificial intelligence, and the potential impact on the future of humanity.
Provides a comprehensive overview of data science concepts and techniques in Python, and covers a wide range of topics such as data manipulation, data visualization, machine learning, and deep learning.
Provides a thought-provoking exploration of the potential future of humanity in the age of artificial intelligence and other emerging technologies.
Provides a comprehensive overview of machine learning concepts and techniques in R, covering a wide range of topics such as data preprocessing, model training, evaluation, and deployment.
Provides practical recipes for solving common TensorFlow 2.x tasks, covering a wide range of topics such as data preprocessing, model training, evaluation, and deployment.
Focuses on the practical aspects of machine learning, providing guidance on how to design, build, and tune ML systems, and provides practical implementation details and code examples with Python and scikit-learn.
Provides an introduction to the field of NLP with Python, and the concepts and techniques needed to work with natural language data.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser