List of topics
Sử dụng API liên quan tới văn bản
Lập trình giao diện
Mọi thứ về lớp học
Kỹ thuật Prompt Engineering
Sử dụng API liên quan tới hình ảnh
Tùy biến mô hình và deploy riêng
Docker + Cloud
Deploy riêng mô hình với Docker + Cloud
RAG và xây dựng hệ thống Chatbot hiện đại
Rag trên đồ thị - Graph RAG
[Bổ trợ thêm] MongoDB + Crawl dữ liệu
Thực hành Langchain
Agents và các bài toán liên quan
Thực hành đào tạo mô hình riêng của bạn
Sử dụng API liên quan tới âm thanh + Video
Dự án - 2 tuần

Mọi thứ về lớp học

Mọi thứ về lớp học

1. Cách chạy các demo

1.1. Cách chạy các demo

Backend

FrontEnd

Chatbot

Demo

  • Flask

    • Cài thư viện pip install requirements.txt

    • Chạy python run.py

NextJS

Tìm file:

src/apiCalls/ai-demos/postQuestionsApiCall.ts

và thay đường dẫn thành đường dẫn của Backend

Image Generation

Demo

Flask

  • Chạy stability_server.py

NextJS

Tìm file:

src/apiCalls/ai-demos/generateImageApiCall.ts

và thay đường dẫn thành đường dẫn của Backend

Speech Recognition

Text to Speech

Chatbot với RAG

Demo

Flask

NextJS

Tìm file:

src/apiCalls/ai-demos/postRAGQuestionsApiCall.ts

và thay đường dẫn thành đường dẫn của Backend

Object Inpainting

Demo

Flask

NextJS

Tìm file

src/apiCalls/ai-demos/replaceObjectApiCall.ts

và thay đường dẫn thành đường dẫn của Backend

Segmentation + Inpainting

Demo

Segmentation Server:

Chạy Colab để lấy link Ngrok

Inpainting Server: Flask

NextJS

Trong file

src/app/[locale]/ai/chat/segment-inpaint/client.tsx

thay

const DATA_API_ENDPOINT = 'LINK_NGROK_SEGMENTATION_SERVER';
const REPLACE_OBJECT_API_ENDPOINT = 'LINK_INPAINTING_SERVER';

Sketch-to-image

Demo

Server

Lời giải của bài tập

NextJS

Trong file

src/apiCalls/ai-demos/sketchToImageApiCall.ts

thay đường dẫn thành đường dẫn của Backend

Segment Anything 2

Demo

Server

Lời giải của bài tập

NextJS

Trong file

src/app/[locale]/ai/chat/segment-inpaint/client.tsx

thay

const DATA_API_ENDPOINT = 'LINK_NGROK_SEGMENTATION_SERVER';

LangChain Chat

Demo

Server:

Chạy Colab để lấy link Ngrok

NextJS

Trong file

src/apiCalls/ai-demos/postLangChainQuestionsApiCall.ts

thay đường dẫn thành đường dẫn của Backend

LLMs PlayGround

Demo

Server:

Lời giải của bài tập

Streamlit

Trong file

pages/LLMs Playground.py

thay đường dẫn thành đường dẫn của Backend

st.session_state.flask_api_url = "<LINK_NGROK>"  # Set your Flask API URL here

1. Cách chạy các demo
1.1. Cách chạy các demo