< Back to examples

Blog Post Body Paragraph

Generate a body paragraph for a blog post

Input

Write a body paragraph about "Shopify is a great case study" in a blog post titled "Tips from the most successful companies

Sample Response

Shopify is a great case study of a company that has successfully implemented tips from the most successful companies. They have a great product and a very successful business model.

Shopify is a web-based e-commerce platform that allows users to create and operate online stores. The company was founded in 2004 by a group of friends who were looking for a way to sell their online product ideas. They quickly realized that there was a gap in the market for a simple, easy-to-use e-commerce platform, and so they set about developing one.

Since then, Shopify has grown to become one of the most popular e-commerce platforms in the world. The company has over 300,000 active users, and they process over $2 billion in sales each year. Shopify has also been named as one of the fastest-growing companies in Canada.

This case study is a great example of how implementing tips from the most successful companies can lead to great.

API Request

1import cohere
2co = cohere.Client('{apiKey}')
3response = co.generate(
4  model='command',
5  prompt='Write a body paragraph about \"Shopify is a great case study\" in a blog post titled \"Tips from the most successful companies\"',
6  max_tokens=200,
7  temperature=0.9,
8  k=0,
9  p=1,
10  frequency_penalty=0,
11  presence_penalty=0,
12  stop_sequences=[],
13  return_likelihoods='NONE')
14print('Prediction: {}'.format(response.generations[0].text))

Parameters

model_sizecommand
presence_penalty 0
max_tokens 200
temperature 0.9
k 0
frequency_penalty 0
p 1