At 2 o'clock this morning, OpenAI started its fourth day of technical live broadcast and released the latest feature Canvas.
Canvas is directly built into ChatGPT, providing a separate window mainly used for programming and writing tasks. It will provide opinions, review and perform specific functions, and can provide more detailed services.
For example, when you encounter difficulties when writing code, Canvas can highlight problematic code segments and help ChatGPT provide inline debugging suggestions to quickly fix these errors; when you are writing an article When you want to make in-depth adjustments to the generated content, you can do it through Canvas.
To put it simply, Canvas is equivalent to a built-in Agent to help and guide ChatGPT to generate and modify better content, and it is automatically triggered.
For example, you can use Canvas to help you write a Christmas story about silly elves. The generated content will be opened in the adjacent window. If you want to add or modify a specific sentence or a specific paragraph in the content, you can continue to ask questions directly in the dialog box.
You can also generate a large text response directly to a picture. For example, if Alexi sends you a Christmas greeting card, you can ask Canvas to generate a Christmas reply letter for you.
Canvas also allows users to execute Python code directly and write scripts to send network requests, process data and communicate with external services. In fact, this function is similar to that of Anthropic, which is a strong code development environment integration.
For example, if you want to convert Python code into JavaScript, TypeScript, Java, C++ or PHP, etc., Canvas can intelligently translate the code while trying to keep the original logical structure unchanged, making it easy to achieve cross-language , platform development.
A brief introduction to Canvas
Canvas is a powerful collaboration platform that opens up an independent work page for users. In this page, users can work hand in hand with ChatGPT to perform various tasks together. class tasks.
The user is writing an article about the development of AI. After opening a new document in Canvas, ChatGPT can give writing suggestions in real time to help optimize the structure and content of the article. One of the core strengths of Canvas is its excellent context-awareness.
When a user highlights a specific part of a document, ChatGPT can accurately understand the context of that part and provide highly targeted feedback. Just like a developer using Python to write a simple Web page that fetches data from a RESTful API and displays it on a web pageWhen applying an application, if you encounter an exception but don't know where the problem lies, Canvas can accurately highlight the error.
In terms of coding, Canvas provides convenient operations such as code review, adding logs, adding comments, and fixing errors. For example, when developing web applications, using Canvas for code review, ChatGPT will give inline suggestions to effectively improve the performance and readability of the code.
Canvas also has a version control function, which is extremely convenient for writing and programming work. After all, these tasks often require multiple iterations and modifications. For example, if a user accidentally deletes important content during editing, they can quickly restore to the previous version by using Canvas' back button.
In addition, Canvas provides a variety of shortcut operations to facilitate users to quickly perform common editing tasks. Users can ask ChatGPT to adjust the length of the document or change the reading difficulty of the article through the shortcut menu. If users need to convert code to a different programming language, Canvas also provides a practical function of one-click migration.