Korzystanie z dużych modeli językowych (LLM) do tworzenia aplikacji w Google Workspace
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ta strona zawiera omówienie sprawdzonych metod i zalecanych narzędzi do pracy z dużymi modelami językowymi (LLM) w celu tworzenia rozwiązań dla Google Workspace.
Podczas tworzenia aplikacji w Google Workspace duże modele językowe mogą Ci pomóc w następujący sposób:
- Generowanie kodu do wywoływania interfejsów Google Workspace API i rozwiązywanie problemów z nim.
- Stwórz rozwiązanie na podstawie najnowszej dokumentacji dla deweloperów Google Workspace.
- uzyskiwać dostęp do zasobów Google Workspace z wiersza poleceń lub zintegrowanego środowiska programistycznego (IDE);
Korzystanie z protokołu Model Context Protocol (MCP) w Google Workspace
Protokół kontekstu modelu (MCP) to standardowy protokół otwarty, który dostarcza kontekst do modeli LLM i agentów AI, aby mogli oni zwracać informacje lepszej jakości w wielokrotnych rozmowach.
Google Workspace ma serwer MCP, który udostępnia schemat umożliwiający LLM dostęp do dokumentacji dla programistów i jej przeszukiwanie. Możesz używać tego serwera podczas tworzenia lub używania agentów AI do wykonywania tych czynności:
Aby wdrożyć serwer, otwórz repozytorium GitHub Google Workspace:
Wyświetl w GitHubie narzędzie Google Workspace MCP Developer Assist
Do tworzenia aplikacji w Google Workspace zalecamy włączenie w proces pracy tych narzędzi AI do pomocy w pisaniu kodu:
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-31 UTC."],[],[],null,["# Use Large Language Models (LLMs) to develop on Google Workspace\n\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| Got 5 minutes? Help us improve the Google Workspace documentation by taking a quick [online survey](https://forms.gle/qYR2wnTRueYeQeSi6). |\n\nThis page provides an overview of best practices and recommended tools for\nworking with Large Language Models (LLMs) to develop solutions for\nGoogle Workspace.\n\nWhen developing on Google Workspace, LLMs can help you in the\nfollowing ways:\n\n- Generate or troubleshoot code for calling Google Workspace APIs.\n- Build a solution based on the latest Google Workspace developer documentation.\n- Access Google Workspace resources from the command line or your integrated development environment (IDE).\n\nUse a Model Context Protocol (MCP) for Google Workspace\n-------------------------------------------------------\n\nA [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction)\nis a standardized open protocol that provides context to LLMs and AI agents so that\nthey can return better quality information in multi-turn conversations.\n\nGoogle Workspace has an MCP server that provides a schema for an LLM\nto access and search developer documentation. You can use this server when\nyou're building or using AI agents to do any of the following:\n\n- Retrieve up-to-date information about Google Workspace APIs and services.\n- Build and preview [user interfaces (UIs) that extend Google Workspace applications](/workspace/extend). You can use these UIs to build Google Workspace add-ons, Google Chat apps, Google Drive apps, and more.\n\nTo deploy the server, visit the Google Workspace GitHub repository:\n\n[View Google Workspace MCP Developer Assist on GitHub](https://github.com/googleworkspace/dev-assist)\n\nUse AI code assistants\n----------------------\n\nWe recommend the following AI code assist tools to incorporate into your\nworkflow for Google Workspace development:\n\n- [Google AI Studio](https://ai.google.dev/aistudio): Generate code for\n your Google Workspace solutions, including code for\n [Google Apps Script](/apps-script) projects.\n\n- [Gemini Code Assist](/gemini-code-assist/docs/overview): Lets you use\n LLMs right from your IDE and includes the\n [`@googledocs`](/workspace/docs/api/how-tos/read-docs-gemini-tool) command to\n access Google Docs documents.\n\nRelated topics\n--------------\n\n- [Build with AI for Google Workspace](/workspace/guides/ai-overview)\n- [Extend the Google Workspace UI](/workspace/extend)\n- [Gemini for Google Cloud overview](https://cloud.google.com/gemini/docs/overview)\n- [Read documents while coding with Gemini Code Assist](/workspace/docs/api/how-tos/read-docs-gemini-tool)"]]