YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
MilkLab° AI — Demi RAG Chatbot
Template สำหรับ Session 3 ของคอร์ส STSW
วิธีเริ่ม
- กด Use this template ด้านบน → Create a new repository (public)
- เปิด repo ใหม่ของคุณ → Code → Codespaces → Create codespace
- รอ container build เสร็จ (~1–3 นาที)
- เขียน
rag_engine.pyและapp.pyตามคู่มือ Session 3 - รัน
streamlit run app.pyเพื่อทดสอบ
โครงสร้างที่เตรียมไว้ให้
.devcontainer/devcontainer.json— Python 3.11 + Copilot + Pylancerequirements.txt— streamlit, sentence-transformers, faiss-cpu, google-genaiknowledge/milklab_kb.txt— knowledge base ตัวอย่างของร้าน MilkLab°.gitignore— กัน.envและ credential หลุดขึ้น GitHub
ไฟล์ที่ต้องเขียนเอง
rag_engine.py— RAG pipeline 5 ขั้น (Load → Chunk → Embed → Search → Generate)app.py— Streamlit UI + เรียก Gemini API.env— เก็บGOOGLE_API_KEY(อย่า commit ขึ้น GitHub)
ดูคู่มือเต็มที่ https://ecp-rmuti.gitbook.io/ai-for-solopreneurs/sessions/session-3
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support