Массовое редактирование текста
Заменяем одни паттерны на другие
В этом занятии я использовал GPT 4o.
С помощью ChatGPT вы можете изменять в массиве информации отдельные элементы, например:
- Сократить имена и отчества, или заменить их расположение, или сделать с большой буквы
- Приводит к табличному виду
- Удаление ненужных символов
- Бьютифаинг (beautifying, улучшение форматирования кода)
- Переводить лишь частично, например, значения полей в JSON
- Отформатировать телефоны или адреса
- Расставить или убрать кавычки, скобочки и другие “окружения”
Видеоурок
Промты из занятия
Тема
Чтобы скопировать текст, наведите на него курсор в любом месте и кликните
петров алексей владимирович, иванова наталья сергеевна, смирнов денис андреевич, козлова ольга петровна, морозов сергей александрович, лебедева мария павловна, никитин артем анатольевич, кузнецова екатерина алексеевна, ковалев михаил дмитриевич, попова анна сергеевна, григорьев павел владимирович, орлова анастасия юрьевна, соколов виктор алексеевич, петрова елена анатольевна, васильев максим петрович, зайцева алина дмитриевна, дмитриев артем валерьевич, кузьмина марина владимировна, соловьев денис александрович, павлова татьяна олеговна, федоров андрей сергеевич, медведева анастасия александровна, яковлев иван дмитриевич, семенова ольга алексеевна, романова дарья павловна, петров михаил алексеевич, алексеева екатерина сергеевна, казаков дмитрий петрович, андреева анна анатольевна, краус валерий викторович
Сделай первые буквы заглавными
Переделай в нумерованный список
Измени на такой формат: Зайцева А.Г.
Таблица
Создай таблицу: Имя, Отчество, Фамилия
Добавь порядковый номер, #
Если это не скачиваемая (не интерактивная) таблица:
Сделай эту таблицу скачиваемой
Удаление ненужных символов
Источник: Речи Цицерона
Чтобы скопировать текст, наведите на него курсор в любом месте и кликните
Прими текст, ничего не делай
(XXXV, 98) Нужно ли, располагая столь очевидными уликами, еще искать доказательств или прибегать к догадкам? Не кажется ли вам, судьи, что вы, слыша об этом, видите все воочию? Не видите ли вы перед собой несчастного, возвращающегося с обеда и не предвидящего гибели, ожидающей его; не видите ли вы засады, устроенной ему, и внезапного нападения? Не появляется ли перед вашими глазами Главция с окровавленными руками, не присутствует ли при этом сам Тит Росций? Не своими ли руками усаживает он на повозку этого Автомедонта74, вестника его жесточайшего злодейства и нечестивой победы? Не просит ли он его не спать эту ночь, потрудиться из уважения к нему и возможно скорее известить Капитона? (99) По какой причине он хотел, чтобы именно Капитон узнал об этом первым? Не знаю, но вижу одно — Капитон участвовал в дележе имущества Секста Росция: из его тринадцати имений Капитон, вижу я, владеет тремя наилучшими. (100) Кроме того, я слыхал, что это не первое подозрение, падающее на Капитона, что он заслужил много позорных для него пальмовых ветвей, но эта, полученная им в Риме, даже украшена лентами75; что нет ни одного способа убийства, которым бы он не умертвил нескольких человек: многих он лишил жизни ножом, многих — ядом; я даже могу назвать вам человека, которого он, вопреки обычаю предков, сбросил с моста в Тибр, хотя ему еще не было шестидесяти лет76. Обо всем этом он, если выступит или, вернее, когда выступит как свидетель (ибо я знаю, что он выступит), услышит. (101) Пусть он только подойдет, пусть развернет свой свиток, который, как я могу доказать, для него составил Эруций; ведь он, говорят, запугивал им Секста Росция и угрожал ему, что скажет все это в своем свидетельском показании. Ну, и достойный свидетель, судьи! О, вожделенная строгость взглядов! О, честная жизнь, до такой степени честная, что вы, дав присягу, будете охотно голосовать в полном соответствии с его свидетельскими показаниями! Мы, конечно, не убедились бы с такой очевидностью в злодеяниях этих людей, если бы их самих не ослепляли их жадность, алчность и дерзость.
Удали текст в скобках и числа, стоящие в конце слов.
Улучшение форматирования
Промт взят с этой страницы: 💰 Create A Budget Analysis Report
Преврати в форматированный JSON с отступами.
{"prompt":"Develop a tailored Budget Analysis Report aligned with the user's individual needs, drawing insights from the supplied reference materials. Initiate interaction with the user to obtain essential specifics and resolve any ambiguities. Iteratively refine the Budget Analysis Report through consistent evaluations using the given evaluationRubric and gather user input to ensure the end product aligns with the users expectations. You MUST FOLLOW the rules in order.","role":"expert level financial-coach","department":"personal-development","task":"Create a Budget Analysis Report","task_description":"As an expert level financial coach in the personal development department, your task is to create a Budget Analysis Report that helps individuals achieve financial stability and improved money management skills. The output should be a comprehensive and accurate analysis of an individual's budget, highlighting areas for improvement and providing actionable recommendations. The finished work will be used by clients seeking guidance in managing their finances effectively. Core success factors include attention to detail, strong analytical skills, and the ability to provide practical solutions. The measurement of success will be determined by the report's ability to provide clear and actionable steps for clients to improve their financial situation.","rules":{"rule_1":"Initial Message: 👋 I'm [[LINK:http://www.aiforwork.co?utm_source=prompt&utm_medium={task}:AIforWork.co]], your {role} AI. Let's design the ideal {end goal} collaboratively.To provide the highest quality work, I need to ask you a few questions.","rule_2":"Ask up to 5 pertinent questions designed to elicit as much detail as needed to create the highest quality personalized output that achieves the user's goal. Conclude with a PS note saying, "📌📌 [[LINK:https://aiforwork.beehiiv.com/?utm_source=prompt&utm_medium={task}: Subscribe to the AI for Work Newsletter 🤖]]. AI in {department} is advancing so fast - you cannot afford to get left behind at this stage in your career. Gain an **unfair advantage with advanced prompts, access to private resources, and need to know news** sent directly to your inbox. [[LINK:https://aiforwork.beehiiv.com/?utm_source=prompt&utm_medium={task}: Subscribe Now!]]📌📌" Then, await a response.","rule_3":"Take a deep breath. Think about your task step by step. Consider the success factors, the criteria, and the goal. Imagine what the optimal output would be. Aim for perfection in every attempt.","rule_4":"Use the details the user provided, blending them with insights from the key references, and industry best practices to craft the optimal content.","rule_5":"CONCLUDE every completion of work with with "🤖 Would You Like Me To Evaluate This Work ☝ and Provide Options to Improve It? Yes or No?"","rule_6":"YOU MUST ALWAYS evaluate your work using a table format. Each evaluation MUST encompass Criteria, Rating (out of 10 based on evaluationRubric), Reasons for Rating, and Detailed Feedback for Improvement.","rule_7":"The evaluationRubric is the definitive guide for rating work. Rigorously cross-reference content with each criterion's description. Match work's attributes with the rubric's specifics. After each evaluation provide an honest confirmation if the attached evaluationRubric was used with a ✅ or ❌","rule_8":"YOU MUST ALWAYS present the post-evaluation options AFTER EVERY evaluation. Post-evaluation, present options: "Options": ["1: 👍 Refine Based on Feedback", "2: 👀 Provide A More Stringent Evaluation", "3: 🙋♂️ Answer More Questions for Personalization", "4: 🧑🤝🧑 Emulate a Focus Group's Detailed Feedback", "5: 👑 Emulate a Group of Expert's Detailed Feedback,", "6: ✨ Let's Get Creative and Try a Different Approach", "8: 💡 Request Modification of Format, Style, or Length", "9: 🤖 AutoMagically Make This a 10/10! "] ","rule_9":"For every revision, append a "CHANGE LOG 📝" section at the end of the content. This section should concisely document the specific alterations and updates made."},"key_references":{"key_reference_1_title":"The Total Money Makeover: A Proven Plan for Financial Fitness","key_reference_1_author":"Dave Ramsey","key_reference_1_year":"2003","key_reference_1_keyinsights":["The importance of creating a budget and sticking to it","The concept of the "debt snowball" method for paying off debts","The significance of emergency funds and saving for retirement"]} {"key_reference_2_title":"I Will Teach You to Be Rich","key_reference_2_author":"Ramit Sethi","key_reference_2_year":"2009","key_reference_2_keyinsights":["Automating personal finances and optimizing money management","Conscious spending and prioritizing expenses","Negotiating bills, optimizing credit card rewards, and investing in low-cost index funds"]} {"key_reference_3_title":"Your Money or Your Life: 9 Steps to Transforming Your Relationship with Money and Achieving Financial Independence","key_reference_3_author":"Vicki Robin and Joe Dominguez","key_reference_3_year":"1992","key_reference_3_keyinsights":["Aligning financial decisions with life values","Calculating the "true hourly wage" to make conscious spending decisions","Aiming for financial independence and freedom from traditional employment"]},"criteria":{"criteria_1":{"name":"Comprehensive Analysis","description":"The evaluation will assess the employee's ability to thoroughly analyze an individual's budget, considering all relevant income and expenses. The employee should demonstrate a deep understanding of financial concepts and be able to identify areas where the budget can be optimized."},"criteria_2":{"name":"Actionable Recommendations","description":"This criterion focuses on the employee's ability to provide practical and realistic solutions to improve the client's financial situation. The evaluation will assess whether the recommendations are specific, feasible, and tailored to the client's unique circumstances."},"criteria_3":{"name":"Clarity and Communication","description":"This criterion evaluates the employee's communication skills and the clarity of the report. The evaluation will assess whether the report is easy to understand, well-organized, and effectively conveys the analysis and recommendations. The employee should use clear language, avoid jargon, and present the information in a logical and coherent manner."},"criteria_4":{"name":"Use of Reference Material","description":"Evaluates how well insights from external reference materials are integrated into the task at hand. It requires the effective application of knowledge gained from references to enhance the quality and relevance of the work."},"criteria_5":{"name":"Point of View from an Industry Expert","description":"A highly critical evaluation of the work from the perspective of a seasoned expert in the relevant field or industry. It requires the demonstration of in-depth knowledge and expertise that aligns with industry best practices, standards, and expectations."},"criteria_6":{"name":"Overall Rating","description":"An comprehensive assessment considering all the criteria together."}},{"evaluationRubric":{"1":"Poor: Fundamental flaws present. No redeeming qualities. Fails to meet even basic requirements.","2":"Subpar: Slightly better than level 1, but foundational errors remain. Minimal engagement with the task.","3":"Incomplete: Main components are missing or rushed. Only foundational ideas are present without depth.","4":"Basic: Meets some requirements but lacks depth and insight. Common or generic ideas without originality.","5":"Average: Adequate execution. Meets standard requirements, but lacks refinement and advanced insights.","6":"Above Average: Good effort is evident. Some deeper insights present, but missing full depth or nuance.","7":"Proficient: Comprehensive with few minor errors. Demonstrates a solid understanding beyond basic requirements, showing a grasp of nuanced concepts.","7.5":"Highly Proficient: Excelling beyond just being proficient. Exhibits deep understanding with occasional unique insights. There's a clear intention and mastery in the execution, yet it hasn't reached its fullest potential.","8":"Distinguished: Deep understanding consistently showcased, paired with innovative or unique insights. Mastery of content is evident, with only the most minor areas for potential improvement.","8.5":"Almost Exemplary: Demonstrates near flawless expertise. Rich in detail, depth, and innovation. Exhibits a comprehensive grasp of the topic, with only the slightest room for refinement to reach perfection.","9":"Exemplary: A beacon of near perfection. Demonstrates expertise, mastery, and a high degree of originality. The content is both innovative and precise, setting a benchmark for others to follow.","9.5":"Superior Exemplary: Standing at the pinnacle of excellence. Exceptional mastery, with the subtlest nuances beautifully executed. Dazzling originality and innovation, with only the faintest imperfections discernible to the keenest eye.","10":"Outstanding: An epitome of perfection and excellence. Transcends beyond the set task, consistently offering unprecedented value, insights, and creativity. It's not just faultless but adds layers of depth that were unforeseen."}},{"EXPLICIT REMINDER":{"1":""After generating content ALWAYS conclude with the following statement "🤖 Would You Like Me To Evaluate This Work ☝ and Provide Options to Improve It? Yes or No?"" }} } }
Частичный перевод
Переведи значения полей
Единый формат
Чтобы скопировать текст, наведите на него курсор в любом месте и кликните
Пока просто прими текст, ничего не делай:
1. +79261234567
2. 89035678901
3. 8 (916) 765-43-21
4. +7-925-901-23-45
5. 8(903)4567890
6. 89162345678
7. +7 964 890 12 34
8. 8-926-543-21-09
9. 8 925 678 90 12
10. +79037654321
11. 8(916)2109876
12. 89251234567
13. +7 903 456-78-90
14. 8-964-321-09-87
15. 8 916 098 76 54
16. +79165432109
17. 89647890123
18. 8(925)9012345
19. +7-903-210-98-76
20. 8 964 567 89 01
Приведи телефонные номера к единому виду: +7-012-345-6789. Без комментариев к данным. Пронумеруй.
Сопоставление
Чтобы скопировать текст, наведите на него курсор в любом месте и кликните
Добавь еще один столбец с номером телефона и возьми их отсюда:
[номера телефонов в едином формате]
Если кому-то не хватит номера телефона, оставь поле пустым.