Embed ChatGPT inside Google Colab.
ChatGPT for Google Colab Extension
Author: DataLynn
Want to contribute?
Feel free to contact: [email protected] / [email protected]
Overview:
This extension aims to seamlessly integrate Google Colab with ChatGPT to enhance user programming experience and boost development efficiency. It automatically reads code descriptions and code blocks from Colab, constantly ready to address user queries. The extension comes with 12 pre-configured functions (while also allowing open-ended questions), enabling GPT to add comments, refactor code, and more. If you're using Google Colab notebooks, this extension is a must-try!
About The Project:
ChatGPT for Google Colab Notebook is a utility developed by DataLynn, designed to streamline interaction between Google Colab and ChatGPT.
Getting Started:
After installing this extension, you will see a button called \"ChatGPT\" when accessing any Google Colab notebook. Clicking on this button will enable you to interact with the extension. Please note that if you have access to GPT-4, it will automatically connect to GPT-4; otherwise, it will connect to GPT-3.5. Of course you may switch between GPT-3.5 and GPT-4 in one session.
Functions:
1. Choose one of the following presets:
Code_Comments: This function will add comments and explanations to your code.
Code_Explain: This function will provide a detailed explanation of your code, including its structure, functionalities, and how it works.
Code_Refactor: This function will optimize your code, making it more readable, maintainable, efficient, and robust.
Code_Debug: This function will help diagnose and fix any bugs in your code.
Features_Creation: This function will create more new features based on the original features if they are helpful for modeling and prediction.
Feature_Encoding: This function will perform feature encoding based on the feature data type and meaning.
Feature_Standardization: This function will standardize your features.
Feature_Selection: This function will perform feature selection on your data.
Dimension_Reduction: This function will perform dimension reduction on your data.
Models_Attempt: This function will attempt different models according to the dataset and corresponding business problem.
Models_Ensemble: This function will use an ensemble method to combine all models.
Models_Evaluation: This function will evaluate the model performance on the testing set.
2. Input your question or request in the provided text area.
3. When selecting 'include code' , your question will include the current code block
4. Click 'submit' button will send your question to ChatGPT
5. Click 'Copy' button will copy the response to your clipboard
6. Click 'close' button will destroy the current plugin
Why this extension?
1. Free: The use of this tool is completely free of charge.
2. Comprehensive Feature Support: All features are fully supported with your ChatGPT account.
3. Pre-made Prompts: We offer pre-made prompts for code fixing, refactoring, summarizing, explaining, and comments adding.
4. Custom ChatGPT Text Area: A text area for custom ChatGPT with and without code context for generic interaction is provided.
5. Dark & Light Mode: The interface supports both dark and light modes.
6. Adapting to Newly Added Code Cells: The tool is designed to adapt seamlessly to newly added code cells.
7. Copying ChatGPT Responses: You can easily copy ChatGPT responses.
8. Run Your First Code Block Automatically: The tool is designed to automatically run your first code block.
9. Selective Code Memory: You can choose to remember the previous code by clicking the 'include previous code' button.
10. Continue Generating When The Answer Is Too Long: If the answer generated by GPT is too long, it will continue generating without interruption.
11. Stop Generating Button: A stop button is provided to cease the generation of the output at any time.
12. Model Switching: You have the flexibility to switch your GPT model when needed.
13. Other Notebook Environments: We are currently working on supporting other notebook environments.
License:
Copyright (c) 2023 DataLynn. All rights reserved. This script is the property of DataLynn and may not be reproduced or distributed without
Source Manifest.json
Similar Extensions
Colab Monkey 780 2 ★ 37.0KiB
SayAI 780 0 ★ 49.37KiB
Visual Python for Colab 780 7 ★ 14.84MiB
ChatGPT Assistant - Autocomplete Prompts 780 3 ★ 330KiB
ChatGPT Keyword Assistant 780 0 ★ 72.63KiB
TextGPT - Smarter Text Input by OpenAI 780 5 ★ 27.8KiB
ChatGPT: Prompt Mate 780 4 ★ 2.17MiB
Github Colabify 780 6 ★ 23.21KiB
ChatGPT Keyboard Shortcuts 780 5 ★ 8.21KiB
Colab Spellcheck 780 1 ★ 450KiB
GPT Code Reviewer 780 1 ★ 24.95KiB
Colab Themes 780 14 ★ 146KiB
TurboGPT For ChatGPT 780 2 ★ 237KiB
ChatGPT for Google Colab 780 67 ★ 183KiB
Vio - Your ChatGPT Companion 780 2 ★ 1.62MiB
Power Prompt For ChatGPT & OpenAi 780 2 ★ 875KiB
ChatGPT Code Runner 780 5 ★ 18.42KiB
GPTEnhancer 780 6 ★ 10.81MiB
Syncia - Power of ChatGPT on any website 780 7 ★ 752KiB
Google Colab Keep-Alive 780 2 ★ 2.03MiB
ChatGPT Prompt List 780 11 ★ 53.83KiB
ChatGPT Continue Button 780 0 ★ 651KiB
Javy: GPT-4 powered assistant 780 11 ★ 471KiB
RunGPT: Execute ChatGPT Code 780 16 ★ 147KiB
User reviews
宋轩 (ID: 00000061feecaeb0) Voted 5 ★ - Updated 06/02/2023
Hangpu Cao (ID: 000000a0f3707e69) Voted 5 ★ - Updated 06/01/2023
Qichen Liu (ID: 0000001cc9307a1c) Voted 5 ★ - Updated 06/01/2023
richard xu (ID: 000000edb84b7acf) Voted 5 ★ - Updated 06/01/2023
Danling Wei (ID: 0000003586a33b7f) Voted 5 ★ - Updated 06/01/2023