Перейти к содержанию
НОВОЕМаркетплейс и trig8n Agent: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Чат-боты и боты для мессенджеров

Чат-боты и боты для мессенджеров

Telegram-чатбот для текста и изображений с Google Gemini

При получении сообщения в Telegram Google Gemini классифицирует запрос, создаёт текстовый или графический ответ и доставляет его в чат.

Что делает

### 5. Content Classification and User Delivery Determines the type of content and manages its delivery via Telegram. - contentType: defines the output format (text, image, etc.). - errorPreprocessor, textCleaner: clean and validate the content. - imageGeneration, imageBuilder: create visual content when necessary. - sendImage, sendTextMessage: send the content to the user.

Шаги

  1. chatPrompt
  2. otherPrompt
  3. generatePrompt
  4. buildPrompt
  5. ChatCore
  6. GeminiModel
  7. inputProcessor
  8. GeminiModel1
  9. structuredOutput
  10. contentType
  11. textCleaner
  12. imageGeneration
  13. imageBuilder
  14. sendImage

Всего шагов: 23.

Похожие автоматизации