Добавить новость
News in English



Новости сегодня на DirectAdvert

Новости сегодня от Adwile

Here's how to write an effective AI prompt, according to Anthropic

Anthropic has a new guide on how to prompt.
  • Writing good prompts is one of the most important skills of the AI era.
  • Anthropic just released a guide on how best to do it.
  • One tip is to think of its chatbot, Claude, as "a brilliant but very new employee (with amnesia)."

One of the most lucrative corporate skills these days is effective prompting — making requests of chatbots to get what you want — but it's not as easy as it sounds.

Chatbots are like children. They will do only what you ask, if even that, and nothing more. To get what you want, you have to be explicit and specific.

AI startup Anthropic is offering some help on this front. The company recently published a "Prompt Engineering Overview" to help users get started.

While its guide applies to pretty much any chatbot, it's tailored to its own, Claude.

The first order of business, Anthropic says, is to understand exactly what Claude is. "When interacting with Claude, think of it as a brilliant but very new employee (with amnesia) who needs explicit instructions," the company says in its guide.

The second is to have a rough idea or draft of your question and a sense of what a successful outcome might look like. Anthropic also offers a "prompt generator" for the first draft.

Then it becomes all about refining that initial prompt. Here are Anthropic's top tips.

Be specific with your prompts

"Claude does not have context on your norms, styles, guidelines, or preferred ways of working. The more precisely you explain what you want, the better Claude's response will be," Anthropic says.

The company suggests telling the chatbot what the results will be used for and what audience it is meant for. You should also tell Claude, or whatever chatbot you are using, what the end goal of the task is.

The more you can organize the directions, the better. Anthropic even recommends laying out the requests as bullet points or a numbered list.

Be generous with examples

"Examples are your secret weapon shortcut for getting Claude to generate exactly what you need," Anthropic says. "By providing a few well-crafted examples in your prompt, you can dramatically improve the accuracy, consistency, and quality of Claude's outputs."

This strategy is sometimes called multi-shot prompting. Anthropic says that giving examples reduces misinterpretation and enforces uniform structure and style.

Give the chatbot space to think

"Giving Claude space to think can dramatically improve its performance," Anthropic says. "This technique, known as chain of thought (CoT) prompting, encourages Claude to break down problems step-by-step, leading to more accurate and nuanced outputs."

This means a user will get the most out of a chatbot if they lay out the chain of steps so it can think through each one before answering. "This thorough reasoning leads to a more confident and justifiable recommendation," Anthropic says.

Roleplay

Anthropic says one of the most effective strategies is to assign the chatbot a specific role, like "news editor" or "financial planner."

"This technique, known as role prompting, is the most powerful way to use system prompts with Claude," the company says.

"In complex scenarios like legal analysis or financial modeling, role prompting can significantly boost Claude's performance."

Assigning roles can ensure you get exactly what you want. Maybe you want the brevity of a news writer, or maybe you want the tone of an academic.

Reduce hallucinations

Chatbots make things up, which is why you have to check everything they say. But there are some simple ways to reduce those hallucinations.

Anthtropic says the best thing you can do is give the chatbot permission to say, "I don't know."

"Explicitly give Claude permission to admit uncertainty. This simple technique can drastically reduce false information," Anthropic says.

You can also ask Claude and other chatbots to cite their claims with sources. "You can also have Claude verify each claim by finding a supporting quote after it generates a response. If it can't find a quote, it must retract the claim," Anthropic says.

Read the original article on Business Insider

Читайте на сайте


Smi24.net — ежеминутные новости с ежедневным архивом. Только у нас — все главные новости дня без политической цензуры. Абсолютно все точки зрения, трезвая аналитика, цивилизованные споры и обсуждения без взаимных обвинений и оскорблений. Помните, что не у всех точка зрения совпадает с Вашей. Уважайте мнение других, даже если Вы отстаиваете свой взгляд и свою позицию. Мы не навязываем Вам своё видение, мы даём Вам срез событий дня без цензуры и без купюр. Новости, какие они есть —онлайн с поминутным архивом по всем городам и регионам России, Украины, Белоруссии и Абхазии. Smi24.net — живые новости в живом эфире! Быстрый поиск от Smi24.net — это не только возможность первым узнать, но и преимущество сообщить срочные новости мгновенно на любом языке мира и быть услышанным тут же. В любую минуту Вы можете добавить свою новость - здесь.




Новости от наших партнёров в Вашем городе

Ria.city
Музыкальные новости
Новости России
Экология в России и мире
Спорт в России и мире
Moscow.media









103news.com — быстрее, чем Я..., самые свежие и актуальные новости Вашего города — каждый день, каждый час с ежеминутным обновлением! Мгновенная публикация на языке оригинала, без модерации и без купюр в разделе Пользователи сайта 103news.com.

Как добавить свои новости в наши трансляции? Очень просто. Достаточно отправить заявку на наш электронный адрес mail@29ru.net с указанием адреса Вашей ленты новостей в формате RSS или подать заявку на включение Вашего сайта в наш каталог через форму. После модерации заявки в течении 24 часов Ваша лента новостей начнёт транслироваться в разделе Вашего города. Все новости в нашей ленте новостей отсортированы поминутно по времени публикации, которое указано напротив каждой новости справа также как и прямая ссылка на источник информации. Если у Вас есть интересные фото Вашего города или других населённых пунктов Вашего региона мы также готовы опубликовать их в разделе Вашего города в нашем каталоге региональных сайтов, который на сегодняшний день является самым большим региональным ресурсом, охватывающим все города не только России и Украины, но ещё и Белоруссии и Абхазии. Прислать фото можно здесь. Оперативно разместить свою новость в Вашем городе можно самостоятельно через форму.

Другие популярные новости дня сегодня


Новости 24/7 Все города России



Топ 10 новостей последнего часа



Rss.plus


Новости России







Rss.plus
Moscow.media


103news.comмеждународная интерактивная информационная сеть (ежеминутные новости с ежедневным интелектуальным архивом). Только у нас — все главные новости дня без политической цензуры. "103 Новости" — абсолютно все точки зрения, трезвая аналитика, цивилизованные споры и обсуждения без взаимных обвинений и оскорблений. Помните, что не у всех точка зрения совпадает с Вашей. Уважайте мнение других, даже если Вы отстаиваете свой взгляд и свою позицию.

Мы не навязываем Вам своё видение, мы даём Вам объективный срез событий дня без цензуры и без купюр. Новости, какие они есть — онлайн (с поминутным архивом по всем городам и регионам России, Украины, Белоруссии и Абхазии).

103news.com — живые новости в прямом эфире!

В любую минуту Вы можете добавить свою новость мгновенно — здесь.

Музыкальные новости




Спорт в России и мире



Новости Крыма на Sevpoisk.ru




Частные объявления в Вашем городе, в Вашем регионе и в России