autogen/notebook/contributing.md
Best practices for authoring notebooks  The following points are best practices for authoring notebooks to ensure consistency and ease of use for the website.  - The Colab button will be automatically generated on the website for all notebooks where it is missing. Going forward, it is recommended to not include the Colab button in the notebook itself. - Ensure the header is a `h1` header, - `#` - Don't put anything between the yaml and the header  ### Consistency for installation and LLM config  You don't need to explain in depth how to install AutoGen. Unless there are specific instructions for the notebook just use the following markdown snippet:  `````` ````{=mdx} :::info Requirements Install `pyautogen`: ```bash pip install pyautogen ```  For more information, please refer to the [installation guide](/docs/installation/). ::: ```` ``````  Or if extras are needed:  `````` ````{=mdx} :::info Requirements Some extra dependencies are needed for this notebook, which can be installed via pip:  ```bash pip install pyautogen[retrievechat] flaml[automl] ```  For more information, please refer to the [installation guide](/docs/installation/). ::: ```` ``````  When specifying the config list, to ensure consistency it is best to use approximately the following code:  ```python import autogen  config_list = autogen.config_list_from_json(     env_or_file="OAI_CONFIG_LIST", ) ```  Then after the code cell where this is used, include the following markdown snippet:  `````` ````{=mdx} :::tip Learn more about configuring LLMs for agents [here](/docs/topics/llm_configuration). ::: ```` `````` 