Xây dựng Workflow RAG
Cài đặt RAG
1. Nội dung
1.1. Đầu ra của khóa
1.2. Thiết kế Node nhận đoạn chat người dùng
1.3. Thiết kế Node chuyển đoạn chat thành vector
Đường dẫn embeddings server:
https://embeddings.protonx.io/embeddings/Token lấy tại đây: https://platform.protonx.io/
Json mẫu:
{
"input": [ "{{$json["chatInput"]}}" ]
}
1.4. Giới thiệu thư viện ProtonX
1.5. Thiết kế Node tìm văn bản tương đồng
Link Qdrant Database:
https://aaa5ef99-0e5b-4836-bd69-4b4bd3250cfb.us-east4-0.gcp.cloud.qdrant.io/collections/courses/points/searchapi-key
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3MiOiJyIn0.VNsPEummDMny5hI26vOdHvHShqHE6UqxgOj0uWyqZWQ