İçeriğe geç
YENİAlaaddin ile tanış: sesi olan yapay zekâ cinin. trig8n 1 Ocak 2027'de yayında. Yeniliklere bak

Kütüphane / Yapay Zekâ Ajanları ve Asistanlar

Yapay Zekâ Ajanları ve Asistanlar

Design UI screens from chat with Google Stitch, Gemini, Telegram and Sheets

When a chat message arrives, it runs an AI agent with Google Gemini and Perplexity using Chat, Google Sheets, Perplexity, Telegram.

Ne yapar

## 09-05-07 stitch ui design bot with project memory ### How it works - The chat panel and a Telegram bot both feed one normalized pipeline, so the same bot works on either channel. - Empty or tiny messages get a friendly hint right away and never reach the agent. - A Google Sheets store remembers each user; returning visitors get their past request injected back into the prompt so their Stitch project continues naturally. - A Gemini agent drives six Google Stitch MCP tools to create projects, list projects and screens, and generate UI from plain language, with web research available for follow-up facts. - Answers are converted to Telegram-safe HTML for the bot and kept as markdown in the chat panel. - Errors are caught, reported to an admin chat, and written to a log sheet. ### Setup - Create a Google Sheets file with two tabs: ProjectMemory (headers session_id, channel, last_prompt, logged_at) and ErrorLog (headers session_id, error_message, logged_at). - Set the sheet URL in STITCH_PROJECT_MEMO_SHEET and the admin chat id in ADMIN_TELEGRAM_CHAT_ID. - Add an HTTP Header Auth credential with the header X-Goog-Api-Key and your Stitch API key, then attach it to the six MCP tool nodes. - Add Google Gemini, Perplexity, and Telegram bot credentials to their nodes. - Activate the workflow and ask for a screen, for example: build a checkout page for a coffee shop. ### Customization - Change the hint text, or remove the web research tool when search is not needed.

Adımlar

  1. Chat channel trigger
  2. Telegram channel trigger
  3. Normalize incoming message
  4. Validate request depth
  5. Load project memory
  6. Merge context into prompt
  7. Stitch UI Designer
  8. Gemini design model
  9. Per-user conversation memory
  10. Create project tool
  11. Get project tool
  12. List projects tool
  13. List screens tool
  14. Get screen tool

Toplam 25 adım.

Benzer otomasyonlar