강의

멘토링

로드맵

Inflearn brand logo image
BEST
Programming

/

Web Development

Creating ChatGPT English Role-Play Chat Service (Feat. Python/Django Channels)

Don't just remain a ChatGPT user; transform into a GPT service developer with Django/Channels. Quickly grasp the core of Django/Channels with this lecture!

(4.7) 19 reviews

261 learners

  • pyhub
실습 중심
Python
Django
django-channels
ChatGPT

Reviews from Early Learners

What you will learn!

  • ChatGPT API English Roleplay Service Development

  • Real-time Web Chat Service Development using Django Channels

  • Role-play Chat Additional Feature Development (Expression Recommendation, Message Read-aloud)

  • TTS development through Google Translate site crawling

  • TTS Support in Web Services and Web Audio API Utilization

Real-time web service development with Django/Channels!
Drive business success and save time 💪

✅ Take the lecture and get a PyCharm Pro coupon !

We've received a 6-month coupon from JetBrains to allow you to use the paid PyCharm Professional, the optimal IDE for Django development, even after completing the course. After completing the course, please read the instructions below and apply.

How to Apply (Must Read) 🎫

The lecture practice will be conducted using a Pycharm Professional trial license (1 month).

  1. If you have registered for the course, please fill out the Google form and request a coupon when you need one.
  2. We accept applications until every Friday , and we will send you a coupon via email.
  3. Please register any coupons you receive immediately. Failure to do so will result in you no longer receiving license support from JetBrains.
  4. Coupon applications can only be made once per person per class .
  5. JetBrains policy states that only one coupon can be registered per JetBrains account.
  6. After using this coupon, you can subscribe to JetBrains at a discounted price on subsequent paid subscriptions from your account.

Note: Students and teachers can receive a one-year license for all JetBrains tools through the JetBrains Student Support Program. Once you apply, you'll receive your license within a few days.

The web application we'll build 🚀

“Life is Short, Learn Django Channels!”
Real-time web service development is also OK! The choice that leads to successful business .

By selecting the language and level and entering the desired situation in Korean, you can freely converse with the artificial intelligence GPT through role-playing.

Supports a function that reads out messages with context-appropriate expression recommendations

English for Beginners: Ordering Food at a Vietnamese Restaurant

Japanese for Beginners: Ordering Food at a Vietnamese Restaurant

Situational Chat Room Settings Page


Understand the OpenAI Chatbot API,
You can even experience web service development.

Thorough understanding and sufficient practice

This course explores how to develop a practical English-language scenario service using the OpenAI Chatbot API. This practical course builds your understanding of the OpenAI Chatbot API by implementing chat using the CLI's simple UI. It then moves on to developing a real-time web chat service using Django Channels. This hands-on course covers this step-by-step process.

Developing useful add-ons for situational chat

This course explores how to develop a practical English-language scenario service using the OpenAI Chatbot API. This practical course builds your understanding of the OpenAI Chatbot API by implementing chat using the CLI's simple UI. It then moves on to developing a real-time web chat service using Django Channels. This hands-on course covers this step-by-step process.

If you want to advance to become an actual service developer

This course explores how to develop a practical English-language scenario service using the OpenAI Chatbot API. This practical course builds your understanding of the OpenAI Chatbot API by implementing chat using the CLI's simple UI. It then moves on to developing a real-time web chat service using Django Channels. This hands-on course covers this step-by-step process.

💡

Same function, 2 different UIs

We develop chat apps in two forms: CLI and web.
Increase code comprehension.

🌳

Explanation of going from forest to tree

Understand the entire code by looking at the slides,
We cover every detail thoroughly through hands-on practice.

📚

Lecture slides provided in PDF format

What I want to understand in detail,
Feel free to read the content you want to review.

📜

100% Korean subtitle support

Quickly grasp the content anytime, anywhere!
All classes support subtitles.


What you learn

1. Overview

We introduce various LLM chat services and outline the technologies required to develop an English situational chat service.

2. Explore the OpenAI API

First, learn how to use the OpenAI Chatbot API and how to safely handle API keys.

3. Creating an English Situational Chat CLI Application

We'll introduce ChatGPT prompts for language-specific scenarios and create a CLI version of a chat application. This development will be identical to the web version of the chat application we'll develop later. Compared to the web version, this allows you to focus more on developing the core chat functionality.

  • Talk to GPT
  • When you're having trouble figuring out which expression to use, get suggestions
  • Read the message aloud

4. English Situational Chat Web Service: Project Preliminary Work

Create a Django project for web service development and perform the necessary preparatory work.

  • Handling environment variables using the django-environ library
  • Easy Bootstrap5 integration using the django-bootstrap5 library.
  • Designing a Django model containing the chat room settings for a situational drama
  • (For testing purposes) Translation function through Google Translate mobile page crawling

5. Create/edit chat rooms/create list/detail pages

Beyond implementing the chat, a web chat service requires implementing the underlying pages. We'll develop a feature that allows users to create and manage chat rooms in as many languages, levels, and situations as they desire, using Django as efficiently as possible.

6. Implementing 1:1 chat with the server via channels and web sockets

Django Channels natively supports the WebSocket protocol. We'll show you how to efficiently use Channels to create 1:1 WebSocket chats and even suggest ways to efficiently store and manage conversation history needed for OpenAI chatbot API calls.

7. Creating a situational chat feature using WebSockets

This is the climax of this lecture! The previous sections have been a buildup to this section. We'll create a scenario prompt and create a conversation with the OpenAI chatbot API via websocket.

8. Creating a situational chat service add-on

  • When you engage in situational chat in a language other than your native language, many uncomfortable situations arise.
  • When you are at a loss as to what expression to use next
  • It's a shame to only see it in text, but I wish the message was read aloud.
  • When you want messages to be read automatically

To address these inconveniences, we're upgrading our chat service to something more useful and fun!

9. In conclusion

We will conclude the lecture by supplementing the missing code as we progress through the class.

  • Add missing links to your HTML template
  • Implement the get_absolute_url method in the model class to specify the address to move to after saving CreateView/UpdateView.

I'm serious about Python and Django
My name is Jinseok Lee, a software developer.

I will be your Python, Django & React pacemaker .

  • Instructor for the Python/Django course "Venture Startup Web Programming" at Seoul National University's Joint Venture Management Program (2016/2017)
  • Fast Campus Web Service Development Camp (Python/Django) 3rd Instructor (2015)
  • Lectures and consulting at numerous universities and companies: Seoul National University, KAIST, Pusan National University, Hanyang University, Kookmin University, Samsung Electronics, LG Electronics, LS Group, SK Planet, Encore, KB Securities, SK Telink, Hyundai Motor Group Innocean, Koscom, Naver NIT Service, Art Center Nabi, Bank of Korea, Korea Institute of Industrial Technology Evaluation and Planning, etc.

Check out the Q&A.

Q. Are there any lectures for players?

This course is a hands-on course on Django/Channels and does not cover the theory behind it. The basic theory of Channels is covered in "Creating a Webchat Service with Python/Django (Feat. Channels) - Basics ," so taking that course first will greatly enhance your understanding. However, even if you don't take that course, the necessary parts for the practical part are fully explained, so you should still be able to understand the material covered in the course without difficulty.

Q. What environment do I need to prepare before taking the course?

This course is an intermediate level course and does not specifically cover setting up a development environment. For more information on setting up a development environment, please refer to the section on setting up a development environment in the "Introduction to Python/Django" course, which begins with Django's design philosophy .

A good lecture to listen to together

Recommended for
these people

Who is this course right for?

  • ChatGPT users aspiring to be service developers

  • Want to learn practical web service development using ChatGPT API?

  • Those proficient in Django Channels and looking for new challenges

  • Django basics mastered, curious about web chat service development.

Need to know before starting?

  • Django Basics (Understanding Views, Models, Templates)

  • Frontend Basics (HTML, CSS, JS Basic Syntax)

Hello
This is

2,948

Learners

139

Reviews

933

Answers

4.8

Rating

5

Courses

파이썬과 장고에 진심인 소프트웨어 개발자

대외 활동

  • 오프라인 교육 : SK텔링크, LS그룹, 삼성 디스플레이, 부산대학교 정보화본부, 서울대학교 벤처경영학연합전공, 패스트캠퍼스 웹서비스 개발 캠프 3기 등

  • 기술 자문 : 유클리드소프트, 부산대학교, 한국산업기술평가관리원, 한국방송통신전파진흥원 등

여러분의 파이썬/장고/리액트 페이스메이커가 되겠습니다. 😉

Curriculum

All

40 lectures ∙ (2hr 22min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

19 reviews

4.7

19 reviews

  • 최인설님의 프로필 이미지
    최인설

    Reviews 1

    Average Rating 5.0

    5

    100% enrolled

    장고 채팅서버 구현하면서, 채널스 정보가 너무 없었는데... 응용강연까지 :) 유익한 강연이었습니다!!

    • 이창환님의 프로필 이미지
      이창환

      Reviews 2

      Average Rating 5.0

      5

      30% enrolled

      • 이주연님의 프로필 이미지
        이주연

        Reviews 1

        Average Rating 5.0

        5

        30% enrolled

        • 채종우님의 프로필 이미지
          채종우

          Reviews 1

          Average Rating 5.0

          5

          30% enrolled

          • 장재헌님의 프로필 이미지
            장재헌

            Reviews 1

            Average Rating 5.0

            5

            30% enrolled

            $51.70

            pyhub's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!