[英]I have unknown BotManQuestion class from botman article
在 laravel 9 應用程序中,我按照https://christoph-rumpel.com/2018/05/how-i-built-the-laravelquiz-chatbot-with-botman-and-laravel文檔添加 botman。 這些文章有 3 個使用 BotManQ ...
[英]I have unknown BotManQuestion class from botman article
在 laravel 9 應用程序中,我按照https://christoph-rumpel.com/2018/05/how-i-built-the-laravelquiz-chatbot-with-botman-and-laravel文檔添加 botman。 這些文章有 3 個使用 BotManQ ...
[英]Is Botman using any Artificial Intelligence? Or it is just a coding method? (based on the codes below)
上面的代碼是基於人工智能的嗎? 或者 Botman 是否涉及任何 AI 或 ML? ...
[英]Send a mail inside botman (laravel 5.7)
我很難在機器人回復中發送郵件。 我使用 mailhog,botman 2.0 和 laravel 5.7。 我用簡單的 php 代碼測試了 mailhog,它可以工作。 這是我的環境文件配置: 對話從這里開始: 如您所見,機器人會說“Merci”(謝謝)並轉到另一個對話。 如果添加我的郵件代碼,機 ...
[英]Is there a way to make Symfony controller return nothing?
我使用 Symfony 6.1 和 PHP 8.1。 我想知道是否有辦法讓 Symfony controller 什么都不返回。 為什么我要使用Botman ,不幸的是它會向客戶端發送一個響應......所以我需要讓我的 controller 什么都不返回。/** * @param Reques ...
[英]How i can get user access token in Dialogflow?
我試圖在對話框流中找到用戶訪問令牌,因為我試圖將它與 botman.io 相關聯,但它不起作用這是代碼: 如何找到我的令牌? ...
[英]When making a chatbot using botman and larvel the botman chatframe isn't working properly
botman 小部件看起來沒問題,但是當我打開它查看聊天框架時,它在聊天框架內給出錯誤 404。 這是我聲明 botman 小部件的部分 這是botmanWidget引用的chat.html文件 ...
[英]Getting user information issue in Botman studio
我將 botman studio 和 facebook 驅動程序與 facebook Api graph 8.0 一起使用,我試圖通過以下方式獲取用戶信息: 但不,我得到這個錯誤: (#3) 應用程序沒有進行此 API 調用的能力。 誰能幫我解決這個問題,我將不勝感激。 ...
[英]Facebook messenger bot cannot reply automatically to any other Facebook users instead of the admin
我創建了一個 Facebook Messenger 聊天機器人,並且與管理員完美合作,我的意思是管理員可以毫無問題地與之交互,但是來自 Facebook 的所有其他用戶都可以向它發送消息,而聊天機器人無法自動回復它們 ...
[英]laravel 404 (Not Found)
請問這個問題怎么解決? 我創建了一個網站,然后在數據庫中插入帶有圖像的記錄后,這些圖像沒有按我想要的方式顯示。 https://www.dropbox.com/s/ov7phzh1v636d95/pages.PNG?dl=0 https://www.dropbox.com/preview/My% ...
[英]Botman yii2. Properties of the conversation lost
BotMan 版本:2.1 PHP 版本:7.3 消息服務:緩存驅動程序:SymfonyCache 描述:我試圖進行對話。 在每個 next 方法中,我都從對話屬性中丟失了數據,這些數據之前保存在屬性中! 第一個\Yii::warning($this->alertTitle);中有用戶的文本 ...
[英]Botman stopped replying in messenger
我收到此錯誤: 我的 Botman Laravel 工作正常,但突然停止,並在 Laravel 日志中顯示上述消息。 首先,這個錯誤是什么意思,為什么會發生,以及如何解決這個問題 任何幫助,將不勝感激。 ...
[英]Botman conversation cache time not working
BotMan 版本:2.6 PHP 版本:7.3.23 Laravel 版本:7.16.1 緩存驅動:LaravelCache 我正在將botman用於電報機器人。 botman 一切正常,只是對話緩存時間不起作用。 這是我的 botman 配置代碼: use BotMan\BotM ...
[英]botman io + laravel not continue conversations
我正在嘗試使用電報在 laravel 7 和 botman 2 中開始對話。 一切正常,但無法繼續對話。 當我試圖回答對話的任何先前問題時,它假設開始新對話而不是詢問對話線程的第二個問題。 我設置的電報網絡鈎子網址是: 我的路線/api.php 電報控制器.php 最后是銀行業對話 ...
[英]BotMan and Symfony 5.1 - Install botman in subdirectory
我是 Symfony 的新手。 我創建了一個 Symfony 應用程序,我的 Symfony 根目錄中有一個 BotMan 文件夾,所以我想將該機器人集成到我的應用程序中。 我的目錄結構是這樣的: 那么如何在我的 Symfony 項目中“包含”BotMan 類,以便能夠將它們用作任何其他 Symf ...
[英]Saving SimpleXMLElement parameter to global variable
我目前正在使用 Botman 框架讓我的機器人讀取 XML 文件。 目前,我的機器人能夠從 XML 文件和 output 文件中獲取數據。 我在將 XML 文件保存回全局變量時遇到問題(因此我可以稍后在代碼中重用)。 這是我嘗試執行此操作時收到的當前錯誤消息: 我在這里遇到問題:public fun ...
[英]How to integrate Botman in Symfony 3 (controller and view )?
我想將聊天機器人集成到我的 symfony 網站中。 So I saw that there was Botman which is a PHP framework and it meets my needs, but I find no documentation concerning its ...
[英]How do I persist data collect from Botman to MySQL
我正在使用 laravel 和 botman 創建一個簡單的問題跟蹤聊天機器人。 我正在努力將數據從 Botman 回復中保存到 MySQL。 有什么建議么? ...
[英]Laravel Botman issue - Can't call functions from the same class after nesting inside botman class
我正在嘗試在 Laravel 中使用 Botman 中的本機按鈕和問題功能,但是我很難理解如何在不使用靜態函數的情況下鏈接函數。 我讓它在一切都是靜態函數的地方工作,但是我想使用收集到的所有信息來發送電子郵件。 但是,如果沒有將contactFollowUp()函數聲明為靜態函數並使用類名Bot ...
[英]How do I check what the admin status is in my telegram bot?
我需要在我的機器人中編寫一些邏輯來檢查用戶是否是管理員/所有者/創建者/成員等當我查看用戶數據結構時,我可以看到它有一個status屬性,在下面的例子中,值為“成員”。 我如何檢查管理員、所有者和創建者? ...
[英]Telegram does not show keyboard sent via Botman
我正在通過 Botman 和 php 為我的電報機器人創建一個進程。 在現在的情況下,我需要在用戶消息字段下使用按鈕制作消息,如下所示: 我嘗試下一個代碼: use BotMan\Drivers\Telegram\Extensions\Keyboard; use BotMan\ ...