이 문서에서는 Google Cloud를 위한 Gemini에 포함된 Colab Enterprise의 Gemini가 개발자가 노트북에서 코드를 작성하고 수정하는 데 도움이 되도록 AI 기반 지원을 제공하는 방법을 설명합니다.
Colab Enterprise의 Gemini를 사용하는 AI 지원
Colab Enterprise의 Gemini는 다음 작업을 수행하는 데 도움이 되는 AI 지원을 제공합니다.
노트북에 관한 채팅(프리뷰):
채팅 대화상자를 사용하여 노트북을 이해하고 개발할 수 있습니다.
Gemini와 잠재적인 코딩 솔루션이나 노트북에서 특정 작업을 수행하는 방법에 관해 채팅할 수 있습니다. 노트북에서 코드에 대한 설명을 확인할 수도 있습니다. 자세한 내용은 Gemini와 노트북에 대해 채팅하기를 참조하세요.
코드 완성 및 코드 생성을 사용하여 코드 작성: Colab Enterprise의 Gemini는 코드 셀을 입력하는 동안 코드 세그먼트를 제안합니다.
Colab Enterprise에서 Gemini를 사용하여 원하는 작업에 대한 설명을 기반으로 코드를 생성할 수도 있습니다. 자세한 내용은 코드 완성 및 코드 생성 사용하기를 참조하세요.
코드 셀 설명(프리뷰): Colab Enterprise의 Gemini를 사용하여 코드 셀에 대한 설명을 가져옵니다. 설명에는 소스와 코드에 대한 제안된 개선사항이 포함될 수 있습니다. 채팅 대화상자를 사용하여 후속 질문을 합니다. 자세한 내용은 코드 셀 설명을 참조하세요.
오류 설명 및 수정(프리뷰): Colab Enterprise의 Gemini는 구문 오류에 대한 수정 사항을 제안하고 기타 오류에 대한 설명을 제공합니다. 설명에는 오류 해결을 위한 소스와 추천 코드 스니펫이 포함될 수 있습니다. 채팅 대화상자를 사용하여 후속 질문을 합니다. 자세한 내용은 오류 설명 및 수정을 참조하세요.
Colab Enterprise의 Gemini에서 사용하는 Gemini 대규모 언어 모델(LLM)은 Gemini 파운데이션 모델을 학습하는 데 사용되는 데이터 세트 외에도 공개적으로 사용 가능한 코드,Google Cloud관련 자료, 기타 관련 기술 정보의 데이터 세트에서 학습됩니다.
Colab Enterprise의 Gemini 응답이 Colab Enterprise의 Gemini 사용자에게 최대한 유용하도록 모델이 학습됩니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eGemini in Colab Enterprise provides AI-powered assistance for writing code within notebooks, using large language models (LLMs) trained on publicly available code, Google Cloud-specific material, and other technical information.\u003c/p\u003e\n"],["\u003cp\u003eUsers can generate Python code with Gemini in Colab Enterprise, which suggests code segments as you type and offers a \u003cstrong\u003eHelp me code\u003c/strong\u003e tool for generating code based on a description.\u003c/p\u003e\n"],["\u003cp\u003eIt is recommended to validate all output from Gemini for Google Cloud products, as they may generate responses that appear plausible but are factually incorrect due to being an early-stage technology.\u003c/p\u003e\n"],["\u003cp\u003eYou can learn how to setup Gemini, use the coding assistance, and understand how data is used through the linked documentation in this content.\u003c/p\u003e\n"]]],[],null,["# Gemini in Colab Enterprise\n\nThis document describes how Gemini in Colab Enterprise, which is part of\n[Gemini for Google Cloud](/gemini/docs/overview), provides\nAI-powered assistance to help you write and edit code in notebooks.\n\nAI assistance with Gemini in Colab Enterprise\n---------------------------------------------\n\nGemini in Colab Enterprise provides AI assistance to help you do the following:\n\n- **Chat about your notebook** ([Preview](/products#product-launch-stages)): Use a chat dialog to help you understand and develop your notebook. You can chat with Gemini about potential coding solutions or how to do specific tasks in your notebook. You can also get explanations of the code in a notebook. For more information, see [Chat about your notebook with Gemini](/colab/docs/chat).\n- **Write code by using code completion and code generation** : Gemini in Colab Enterprise suggests code segments while you type in a code cell. You can also use Gemini in Colab Enterprise to generate code based on a description of what you want. For more information, see [Use code completion and code generation](/colab/docs/use-code-completion).\n- **Explain code cells** (Preview): Use Gemini in Colab Enterprise to get explanations of code cells. The explanations can include sources and suggested improvements to the code. Use the chat dialog to ask follow-up questions. For more information, see [Explain code cells](/colab/docs/explain-cells).\n- **Explain and fix errors** (Preview): Gemini in Colab Enterprise suggests fixes for syntax errors and provides explanations of other errors. The explanations can include sources and suggested code snippets for resolving the error. Use the chat dialog to ask follow-up questions. For more information, see [Explain and fix errors](/colab/docs/explain-errors).\n\nThe Gemini large language models (LLMs) that are used by Gemini in Colab Enterprise are trained on datasets of publicly available code, Google Cloud-specific material, and other relevant technical information in addition to the datasets used to train the Gemini [foundation models](https://storage.googleapis.com/deepmind-media/gemini/gemini_1_report.pdf). Models are trained so that Gemini in Colab Enterprise responses are as useful to Gemini in Colab Enterprise users as possible.\n\nLearn [how and when Gemini\nfor Google Cloud uses your data](/gemini/docs/discover/data-governance).\n| As an early-stage technology, Gemini for Google Cloud\n| products can generate output that seems plausible but is factually incorrect. We recommend that you\n| validate all output from Gemini for Google Cloud products before you use it.\n| For more information, see\n| [Gemini for Google Cloud and responsible AI](/gemini/docs/discover/responsible-ai).\n\nWhere to interact with Gemini\n-----------------------------\n\nAfter you [set up Gemini in Colab Enterprise](/gemini/docs/colab/set-up-gemini), you\ncan use Gemini in Colab Enterprise to do the following in Colab Enterprise:\n\n- To [chat about your notebook with Gemini](/colab/docs/chat), open a Colab Enterprise notebook, and then click the spark **Show\n Gemini** button. Start discussing your notebook in the chat dialog.\n- To\n [use code completion and code generation](/colab/docs/use-code-completion),\n do any of the following:\n\n - To use code completion, start typing in a code cell to see code completion suggestions.\n - To use code generation, click spark **Available\n AI features** , and then click **Generate code** . Enter a description of the code that you want to generate, and then press \u003ckbd\u003eEnter\u003c/kbd\u003e.\n- To [get explanations of code cells](/colab/docs/explain-cells), go to the\n cell that you want to explain, click\n spark **Available\n AI features** , and then click **Explain code**.\n\n- To [explain and fix errors](/colab/docs/explain-errors), do any of the\n following:\n\n - To use a suggested fix for a syntax error, click the **Fix error** button, and then accept the suggested edit.\n - To get an explanation of an error, click the **Explain error** button.\n\nSet up Gemini in Colab Enterprise\n---------------------------------\n\nFor detailed setup steps, see\n[Set up Gemini in Colab Enterprise](/gemini/docs/colab/set-up-gemini).\n\nWhat's next\n-----------\n\n- See the latest enhancements and fixes in [release notes](/gemini/docs/release-notes).\n- Learn how to [set up Gemini in Colab Enterprise](/gemini/docs/colab/set-up-gemini).\n- Learn how to [write code with Gemini assistance](/colab/docs/use-code-completion).\n- Learn how [Gemini for Google Cloud uses your data](/gemini/docs/discover/data-governance).\n- Learn more about [Google Cloud compliance](/security/compliance)."]]