Duet AI
Google Cloud's AI assistant
Google Cloud's AI assistant
Duet AI is an AI-powered collaboration assistant integrated into Google Cloud and Google Workspace. Announced at Google I/O in 2023, it is based on Google's large language model technology and supports a variety of tasks such as writing code, drafting documents, analyzing data, and monitoring security. Since February 2024, it has been rebranded as "Gemini for Google Workspace" and "Gemini for Google Cloud".
In Google Workspace, Duet AI (now Gemini) supports drafting emails in Gmail, summarizing and writing documents in Google Docs, generating formulas and analyzing data in Sheets, and generating presentation images in Slides. In particular, the "Help me write" feature understands context and helps you quickly write professional business documents.
In Google Cloud development environments, it provides code generation, code explanation, test writing, and debugging support in Cloud Shell, Cloud Workstations, and IDEs (such as VS Code). In BigQuery, it generates SQL queries from natural language, and in Apigee, it helps with API design. It also has a feature in Security Command Center that summarizes security threats and suggests response measures.
In practice, Duet AI significantly improves development productivity and the efficiency of business document work. It is available on Google Workspace Business and Enterprise plans for $30 per month (additional cost per user), and with Google Cloud, it can be integrated with Vertex AI to generate responses tailored to enterprise data. As a product line that competes directly with Microsoft Copilot, it is a natural choice for companies that use the Google ecosystem.
# Google Cloud Vertex AI로 Gemini 모델 사용 예제
# (Duet AI의 백엔드 기술 활용)
from google.cloud import aiplatform
from vertexai.generative_models import GenerativeModel
# 프로젝트 초기화
aiplatform.init(
project="your-project-id",
location="us-central1"
)
# Gemini Pro 모델 로드
model = GenerativeModel("gemini-1.5-pro")
# 코드 생성 요청 (Duet AI 코드 어시스턴트와 유사)
code_prompt = """
다음 요구사항에 맞는 Python 함수를 작성해주세요:
- BigQuery에서 데이터를 조회
- 결과를 Pandas DataFrame으로 변환
- 날짜별 집계 수행
"""
response = model.generate_content(code_prompt)
print(response.text)
# 문서 요약 (Duet AI for Workspace와 유사)
document_content = """
[긴 회의록 내용...]
"""
summary_prompt = f"""
다음 회의록을 핵심 결정사항과 액션 아이템 중심으로 요약해주세요:
{document_content}
"""
summary = model.generate_content(summary_prompt)
print(summary.text)
# 채팅 형식 대화 (멀티턴)
chat = model.start_chat()
response1 = chat.send_message("Cloud Run 서비스 배포 방법을 알려주세요")
response2 = chat.send_message("Docker 없이 소스코드에서 직접 배포하는 방법은?")
print(response2.text)
"If we add Gemini to the Workspace Enterprise Plus plan, it costs an additional $30 per user per month. For our current 500 users, that comes to $180,000 per year, but considering the 30% reduction in document writing time and the improved email response speed, I think the ROI will be more than sufficient."
"I tried the Duet AI code assistant in Cloud Shell, and its GCP-specific code generation is definitely a strength. Its understanding of context is accurate, whether for code that deploys Cloud Run with Terraform or when generating BigQuery SQL."
"Since Gemini integrated into Security Command Center summarizes threats automatically, analysis time has dropped significantly. In particular, the AI recommendations help when prioritizing among the hundreds of vulnerabilities that were found."
Since February 2024, "Duet AI" has been rebranded as "Gemini for Google Workspace/Cloud". Up-to-date documentation and pricing information should be checked under the Gemini brand.
When using Gemini in Workspace, input data is not used for model training, but the data processing location and security policies must be reviewed to meet your organization's compliance requirements.
Gemini features incur additional costs on top of existing Workspace/Cloud pricing. Workspace costs $30 per user per month, and Cloud is pay-as-you-go based on API call volume, so budget planning is necessary.