Embed ChatGPT inside Google Colab.

Latest Version

Version
1.4.1
Update
December 27, 2023
Size
212KiB
Developer
datalynn.com
Category
Users
780
Rating
4.33333 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

ChatGPT for Google Colab Extension

DataLynn ChatGPT Extension for Google Colab Notebook

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_appName__", "description": "__MSG_appDesc__", "default_locale": "en", "version": "1.4.1", "manifest_version": 3, "icons": { "16": "logo.png", "32": "logo.png", "48": "logo.png", "128": "logo.png" }, "host_permissions": ["https://*.openai.com/"], "permissions": ["storage"], "background": { "service_worker": "background.js" }, "action": {}, "options_ui": { "page": "options.html", "open_in_tab": true }, "content_scripts": [ { "matches": ["https://colab.research.google.com/*", "https://github.com/*"], "js": ["content-script.js"], "css": ["content-script.css"] } ]}
Read more