Sample prompts

Use the following sample prompts to try specific types of outputs with watsonx, such as an answer, a summary, or a translation, based on a topic or question.

Before you begin

Try the sample prompts by using the IBM Granite as the base large language model (LLM), which is the default base LLM for watsonx in the AI chat. The results might vary depending on the base LLM that the watsonx is set to use.

Tenant administrators can change this default by configuring the model of the AI agent.

Classification

Paste the following prompt text in the chat bar:

Classify the following text as either "Marketing", "Sales", or "Customer Support":

"Dear valued customer, we hope you're enjoying your recent purchase! If you have any questions or concerns, please don't hesitate to reach out to our customer support team. We're here to help."

Paste the following prompt text in the chat bar:

Classify the following text as either "Finance", "Human Resources", or "Operations":

"The company's financial reports show a steady increase in revenue over the past quarter. Our HR department is currently recruiting for several open positions. Our operations team is working hard to ensure that our supply chain is running smoothly."

Data extraction

Paste the following prompt text in the chat bar:

Extract the names of the software companies in the world and their respective headquarters locations from the source text.

Source Text:

"The software industry is one of the fastest-growing industries in the world, with companies like Microsoft, Apple, and Amazon leading the way. Microsoft, founded in 1975, is headquartered in Redmond, Washington, and is known for its Windows operating system and Office software suite. Apple, founded in 1976, is headquartered in Cupertino, California, and is known for its iPhone smartphones and Mac computers. Amazon, founded in 1994, is headquartered in Seattle, Washington, and is known for its e-commerce platform and cloud computing services."

Paste the following prompt text in the chat bar:

Extract the names of the banks in the United States and their respective headquarters locations from the source text.

Source Text:

"The banking industry is a vital part of the global economy, with banks like JPMorgan Chase, Bank of America, and Wells Fargo leading the way. JPMorgan Chase, founded in 1871, is headquartered in New York City and is one of the largest banks in the world. Bank of America, founded in 1904, is headquartered in Charlotte, North Carolina, and is known for its consumer banking services. Wells Fargo, founded in 1852, is headquartered in San Francisco, California, and is known for its diversified financial services."

Text generation

Paste the following prompt text in the chat bar:

Write a marketing email for a new product launch in the tech industry. The product is a smartwatch that tracks physical activity, monitors health vitals, and receives notifications from a connected smartphone. The target audience is active professionals who want to stay healthy and connected on the go.

Paste the following prompt text in the chat bar:

Create a sales pitch for a B2B software solution that helps companies streamline their supply chain management processes. The software offers real-time tracking, automated inventory management, and data analytics to optimize logistics operations. The target audience is C-level executives and supply chain managers in medium to large enterprises.

Question answering

Paste the following prompt text in the chat bar:

Suppose you are the CEO of a startup that produces eco-friendly cleaning products. Your company has been facing declining sales over the past year. What steps would you take to address this issue and turn things around?

Paste the following prompt text in the chat bar:

You are a marketing manager for a software company that specializes in project management tools. Your task is to create a social media campaign that targets small business owners and entrepreneurs. What platforms would you use, and what type of content would you create to engage this audience?

Summarization

Paste the following prompt text in the chat bar:

Summarize the key points of a report on business intelligence tools for a non-technical executive. The report discusses the benefits and limitations of various tools, such as Tableau, Power BI, and QlikView, and provides recommendations for selecting the right tool for a company's needs.

Paste the following prompt text in the chat bar:

Summarize a case study on a successful social media marketing campaign for a new product launch. The case study discusses the company's target audience, marketing channels used, content strategy, and metrics used to measure success.

Language translation

Paste the following prompt text in the chat bar to generate the text that you can use to translate:

Generate a sample contract that includes terms and conditions and payment details. The text should have a maximum of 2000 tokens.

After you generate the text, paste the following prompt text in the chat bar:

Translate the previous contract from English to French.

Parent topic:

Using the AI chat