Bắt đầu
Cách tích hợp Dify.ai & Deep SerpApi?
Bằng cách tích hợp Dify với Deep SerpApi, chúng ta có thể xây dựng một bộ công cụ tạo tiêu đề SEO thông minh, có khả năng thu thập dữ liệu kết quả tìm kiếm Google theo thời gian thực và sử dụng mô hình ngôn ngữ lớn (LLM) để hiểu ngữ nghĩa và tạo nội dung, từ đó tạo ra các tiêu đề hấp dẫn và chính xác hơn.
Tiếp tục đọc và làm theo các bước của tôi để hoàn thành nó!
1. Tạo một ứng dụng thông qua “Tạo từ trống”.
Chọn luồng công việc và nhập tên và mô tả.
2. Thêm nút và trường đầu vào.
3. Chọn nút Deep SerpApi để truy cập Google.
Thiết lập đầu vào tìm kiếm.
4. Điều chỉnh kiểu dữ liệu
Vì định dạng đầu ra của Deep SerpApi là JSON, chúng ta cần thêm một nút Code để điều chỉnh kiểu dữ liệu:
Điền vào mã sau để chuyển đổi cấu trúc JSON thành kiểu chuỗi cho đầu vào tham số của nút tiếp theo:
function main({result}) {
return {
result: JSON.stringify(result)
}
}
5. Tóm tắt kết quả và tạo tiêu đề blog.
Thêm một nút LLM:
Chọn mô hình gpt-3.5-turbo
(bạn có thể thay đổi thành các mô hình LLM khác tùy ý), và điền vào các từ nhắc sau. Các từ nhắc sẽ sử dụng kết quả tìm kiếm của Deep SerpApi để tạo ra một tiêu đề blog thân thiện hơn:
SYSTEM:
You are an SEO expert and subject-matter expert. Your task is to generate an SEO article title for the keywords provided by the user based on the context of the Google Search.
USER:
For context about what my article should be about, these are the top ranking results for /keyword: /result
What are the principles that made these rank?
ASSISTANT:
To craft an SEO-friendly article title for the keywords "/keyword" that aligns with the principles observed in the top-ranking results you've shared, it's important to understand what made those titles effective. Here are the principles that likely contributed to their high rankings:
1. **Keywords Placement and Clarity**: Each title directly addresses the query by including the exact keywords or a very close variant. This clarity ensures search engines can easily understand the relevance of the content.
2. **Brevity and Directness**: The titles are concise, making them easy to read and understand quickly. They avoid unnecessary words and get straight to the point.
3. **Inclusion of Definitions or Explanations**: The titles suggest that the article will define or explain the concept, which is precisely what someone searching for "/keyword" would be looking for.
4. **Variety in Presentation**: Despite covering similar content, each title approaches the subject from a slightly different angle. This variety can capture interest from a broader audience.
USER:
Given these principles, please help me generate a title that will rank for the keywords "/keyword" by modeling after the syntax of the top ranking titles. Don't copy but give me something better, and avoid language such as "Master", "Comprehensive" or "Discover" or "Unveil". Do not use gerunds, and write in active, present voice only. Return the title only. Do not include any special symbols such as quotation mark and colons.
6. Thêm nút kết quả đầu ra.
Chúc mừng! Quá trình cốt lõi hiện đã hoàn tất, tiếp theo chúng ta hãy thử nghiệm nó!
Chạy thử
Nhập từ khóa “AI content generation” và nhấp vào “Bắt đầu chạy”.
Chúng ta có thể thấy rằng một tiêu đề blog có thứ hạng Google cao đã được tạo thành công.
Phát hành và sử dụng
Nếu các bước trên đã hoàn thành, bạn có thể tự tin tiến hành phát hành.
Sau khi phát hành hoàn tất, chúng ta có thể sử dụng ứng dụng:
Tại thời điểm này, bạn đã học cách xây dựng một trình tạo tiêu đề blog thân thiện với SEO bằng Deep SerpApi và Dify!