This can be further optimized and tailored to your specific needs but to give you an idea. Note that I used a curl request for testing, so slightly different conventions. Background info was about 2,000 words from a Wikipedia article on raccoons plus separately a very simplified outline.
{
"model": "gpt-4-0125-preview",
"messages": [
{
"role": "system",
"content": "You are an AI assistant specialized in creating posts for an animal blog. Your role is to complete three interrelated tasks. Task (1): You write a blog post section based on the background info and the section outline provided. The post consists of 5-8 informative sentences, written in an enthusiastic and engaging tone; Task (2): You create a title for the post; Task (3) You write a meta description based on the post."
},
{
"role": "user",
"content": "Background info: '''BackgroundInfo'''; Outline: '''Outline'''"
}
],
"max_tokens": 2000,
"frequency_penalty": 0,
"presence_penalty": 0,
"temperature": 0.7,
"stop": null
}
This returned the following:
Title:
“The Remarkable Raccoon: A Deep Dive into the Life of North America’s Mischievous Bandit”
Blog Post Section:
The raccoon, a symbol of adaptability and cunning, has fascinated humans across North America and beyond for centuries. Known scientifically as Procyon lotor, this creature is not only the largest member of the procyonid family but also one of the most recognizable due to its distinctive facial mask and ringed tail. These features have not only captured our imagination but have also played a significant role in the mythologies of Indigenous peoples. What makes the raccoon truly remarkable, however, is its intelligence. Studies have shown that raccoons possess an extraordinary memory, capable of recalling solutions to tasks for up to three years. This nocturnal mammal, with its diet comprising invertebrates, plants, and vertebrates, showcases a remarkable adaptability in both diet and habitat. Originally from deciduous and mixed forests, raccoons have extended their range to mountainous areas, coastal marshes, and even urban settings, demonstrating their incredible ability to thrive in diverse environments. Yet, their presence in Europe as an invasive species since 2016 highlights the challenges of their adaptability. Despite their common portrayal as solitary animals, recent evidence suggests a complex social structure, where related females share territories and unrelated males form groups. This social behavior, coupled with their adaptability, has ensured the raccoon’s survival in various climates and conditions, although their lifespan in the wild typically ranges from 1.8 to 3.1 years due to factors like hunting and vehicular accidents. From their evolution, which traces back to the late Oligocene, to their current status as both cherished and challenged beings, raccoons continue to intrigue and inspire curiosity about the natural world around us.
Meta Description:
Dive into the intriguing world of the raccoon, Procyon lotor, a true marvel of North America’s wildlife. Discover the intelligence, adaptability, and complex social structures of these nocturnal creatures, from their diverse habitats to their survival tactics in both wild and urban environments.