
Unlocking Creativity with Azure OpenAI
By :

There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Each message object consists of a role
type (either system
, user
, or assistant
) and content
.”
A block of code is set as follows:
} response = openai.ChatCompletion.create( engine="gpt-35-turbo", messages=[ {"role": "system", "content": "You are a helpful assistant that helps people find information"},
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
The final match of the ICC World Cup 2011 was played at the Wankhede Stadium in Mumbai, India.
Any command-line input or output is written as follows:
!pip install -r requirements.txt
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “The Azure portal will notify you once the new resource becomes available. Click Go to resource to access the newly created resource.”
Tips or important notes
Appear like this.