# fluent-support/2.2.0/app/Services/Integrations/FluentBot/FluentBotService.php

Fluent Support – Helpdesk &amp; Customer Support Ticket System, version 2.2.0. 55 lines.

- Page: https://pluginprobe.com/plugins/fluent-support/2.2.0/code/app/Services/Integrations/FluentBot/FluentBotService.php
- Raw: https://pluginprobe.com/plugins/fluent-support/2.2.0/raw/app/Services/Integrations/FluentBot/FluentBotService.php
- Modified: 2026-05-20T14:52:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-support/2.2.0/code/app/Services/Integrations/FluentBot/FluentBotService.php#L10-L20`.

```php
<?php

namespace FluentSupport\App\Services\Integrations\FluentBot;

use FluentSupport\App\Services\Integrations\FluentBot\FluentBotHelper;

class FluentBotService
{
    public function getPresetPrompts($type): array
    {
        return (new FluentBotHelper())->getPresetPrompts($type);
    }

    public function modifyResponse(string $prompt, $selectedText, $ticketId)
    {
        return (new FluentBotHelper())->modifyResponse($prompt, $selectedText, $ticketId);
    }

    public function generateResponse(string $responseContent, $ticket, $productId, $chatId = null)
    {
        return (new FluentBotHelper())->generateResponse($responseContent, $ticket, $productId, $chatId);
    }

    public function generateStreamResponse(string $responseContent, $ticket, $productId, $chatId = null, $selectedConversations = null, $includeTicketContent = true, $seedMessages = null)
    {
        return (new FluentBotHelper())->generateStreamResponse($responseContent, $ticket, $productId, $chatId, $selectedConversations, $includeTicketContent, $seedMessages);
    }

    public function getTicketSummary($ticket)
    {
        return (new FluentBotHelper())->generateTicketSummary($ticket);
    }

    public function getTicketTone($ticket)
    {
        return (new FluentBotHelper())->generateTicketTone($ticket);
    }

    public function getChatMessages($chatId, $productId = null, $cursor = null)
    {
        return (new FluentBotHelper())->getChatMessages($chatId, $productId, $cursor);
    }

    public function getCustomPresets(): array
    {
        return (new FluentBotHelper())->getCustomPresets();
    }

    public function saveCustomPresets(array $presets): array
    {
        return (new FluentBotHelper())->saveCustomPresets($presets);
    }

}

```
