Python for AI: รวบรวม 8 บทความการทำงานกับ AI ใน Python

ในช่วงที่ผ่านมา ผมมีโอกาสแชร์การใช้ Python เพื่อทำงานกับ AI จากการที่ผมได้ทำงานเกี่ยวกับ AI มากขึ้น

เพื่อช่วยในการแชร์ ผมได้สรุปเนื้อหาไว้ใน 8 บทความ (5 กลุ่ม) ซึ่งทุกคนสามารถอ่านตามได้ดังนี้:

🐍 Session #1. Intro to Python:

  • Intro to Python: แนะนำการใช้งานและประเภทข้อมูลใน Python

🔁 Session #2. Control flow:

  • Control flow: สอนใช้ statement เช่น if, for, while เพื่อควบคุมการทำงานของ Python

💻 Session #3. Functions:

  • Functions: สอนการสร้าง function ใน Python

📦 Session #4. Packages and files:

  • open(): สอนการทำงานกับไฟล์ด้วย base Python
  • json package: สอนการทำงานกับ JSON ด้วย json package
  • pd.read_csv(): สอนการทำงานกับ CSV ด้วย pandas package

🤖 Session #5. AI packages:

  • openai package: สอนการทำงานกับ AI API ผ่าน openai package
  • google-genai package: สอนการใช้ google-genai เพื่อทำงานกับ Gemini API

Comments

Leave a comment