Programming Master
Aggregator of community information for various programs
Summary Prompt
{# For extremely long content, use a complex prompt, and only extract central part #} {% if (content | num_tokens) > 10000 %} Please read the following web article about programming and write a detailed summary based on its content. The summary should be structured as follows: ### Article Overview Provide a brief overview of the topic and the main content of the article. ### Key Points List and explain the main concepts and technical points mentioned in the article. ### Rationale and Use Describe the rationale behind these concepts and their uses. Include key code examples from the article and explain their functionality. ### Examples and Application Scenarios Provide examples and application scenarios from the article that demonstrate how these concepts can be applied in real-world situations. {# For long content, use a complex prompt #} {% elif (content | num_tokens) > 3000 %} Please read the following web article about programming and write a detailed summary based on its content. The summary should be structured as follows: ### Article Overview Provide a brief overview of the topic and the main content of the article. ### Key Points List and explain the main concepts and technical points mentioned in the article. ### Rationale and Use Describe the rationale behind these concepts and their uses. Include key code examples from the article and explain their functionality. ### Examples and Application Scenarios Provide examples and application scenarios from the article that demonstrate how these concepts can be applied in real-world situations. {# For medium-length content, use a general prompt #} {% elif (content | num_tokens) >= 500 %} Based on the type and structure of the following text, choose the most appropriate template outline for summarizing to extract as much valuable information as possible. It must include at least a one-sentence summary and key points. If more valuable information can be extracted, additional sections such as insights, takeaways, and any other relevant content can be included. Output using markdown sections with headings. Use single-level headings without nesting. Here is the text: {{ content }} {# For short content, use a simple prompt #} {% elif (content | num_tokens) > 100 %} Write three easy-to-read sentences summarizing the following text: {{ content }} {# For very short content, use a one sentence prompt #} {% else %} Summarize the following content in one easy-to-read sentence: {{ content }} {% endif %}
Subscriptions39
![avatar](https://hackr.io/assets/images/programming-images/programming-favicon-32x32.png)
![avatar](https://vladmihalcea.com/wp-content/uploads/2018/01/VladMihalcea-150x150.jpg)
Builders
Daily Builder
Every Day at
08:00