Conventions used
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 (now X) handles. Here is an example: “The fetch_data
function will print all the entries in the database.”
A block of code is set as follows:
from sklearn.model_selection import train_test_split X = df['article'] y = df['sentiment'] X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
Any command-line input or output is written as follows:
$ mkdir AutoGPT $ cd AutoGPT
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Open the Power BI desktop and click on Home in the ribbon at the top.”
Tips or important notes
Appear like this.