รายละเอียดสำหรับเรียนรู้ React ปี 2020-2023 โดยโค้ชพล ดูหลักสูตรได้ที่ https://www.nextflow.in.th/react-training
เลือกเริ่มโปรเจคได้ 2 วิธีคือ A. โคลนโปรเจคมาไว้ในเครื่อง หรือ B. ใช้ Codespace
git clone -b starter https://github.com/teerasej/nextflow-openai-react-redux-simple
จากนั้นเข้าไปในโฟลเดอร์โปรเจค
cd nextflow-openai-react-redux-simple
และติดตั้ง package ที่จำเป็นด้วยคำสั่ง
npm install
starter
useSelector()
สร้าง Thunk เพื่อเรียกใช้ Async Operation Azure OpenAI Service | OpenAI API |