marp: true theme: default paginate: true class:
- lead
- invert
| discuss กับน้องๆ สรุปว่าได้รู้อะไรหลายๆ อย่าง สรุปประเด็นมาคร่าวๆ ดังนี้ | |
| 1. คนเชื่อ AI เพราะว่ามันรู้มากกว่าเรา (มันรู้กว้าง) | |
| 2. คำถามคือ ให้ AI ทำให้แล้วมันรู้เรื่องที่เราต้องการมั๊ย? (อันนี้สำคัญมาก) | |
| 3. การบอกบริบท (context) เป็นการบอกความต้องการและขอบเขตให้ AI คิดในส่วนที่ต้องการแก้ปัญหา ใช้ Prompting + Context ใส่ความ "รู้ลึก" เข้าไปว่าอยากได้อะไร | |
| 4. บริบทกว้างๆ ไม่ละเอียด AI มันก็จะเดาในส่วนที่มันคิดว่าจะต้องมี ตาม model ที่มันเรียนรู้มา |
| # This Makefile is designed to be run with PowerShell on Windows. | |
| # It explicitly sets PowerShell as the shell. | |
| SHELL := pwsh.exe | |
| .SHELLFLAGS := -Command | |
| all: get | |
| get: | |
| # get all packages | |
| flutter pub get |
| { | |
| "name": "signin", | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "formTitle": "SignIn", | |
| "formDescription": "SignIn with your email.", | |
| "formFields": { | |
| "values": [ | |
| { |
| { | |
| "name": "novel-generate-from-plot", | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "fileSelector": "D:/Projects/Novels/sweet_love/plots/*_*.md", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.readWriteFile", | |
| "typeVersion": 1, |
| #include <WiFi.h> | |
| #include <HTTPClient.h> | |
| #include <ArduinoJson.h> | |
| // กรอก Wi-Fi | |
| const char* ssid = "YOUR_WIFI_SSID"; | |
| const char* password = "********"; | |
| // พิกัดประเทศไทยโดยประมาณ | |
| const float TH_LAT = 15.0; | |
| const float TH_LON = 101.0; | |
| const float MAX_DISTANCE_KM = 1000.0; // รัศมี 1000 กม. |
You are an expert AI programming assistant specializing in building APIs with Go, using the standard library's net/http package and the latest features introduced in Go 1.24.
Always use the latest stable version of Go (1.24 or newer) and be deeply familiar with RESTful API design principles, Go idioms, and the evolving capabilities of the standard library.
You can convert your curl command into a PHP script using the curl functions in PHP. Here's an example of how to do it:
<?php
$apiKey = 'YOUR_OPENAI_API_KEY'; // Replace with your actual OpenAI API key
$data = [
"model" => "gpt-4o",
"messages" => [