Giter Site home page Giter Site logo

livehelperchat / lhc-chatbot Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 9.0 3.09 MB

Live Helper Chat extension to provided quick responses automatically for an operators. Powered by DeepPavlov and MeiliSearch

PHP 91.36% JavaScript 6.54% Dockerfile 0.62% Shell 1.48%

lhc-chatbot's Introduction

Live helper chat

It's an open-source powered application that brings simplicity and usability into one place. With Live Helper Chat, you can bring live support to your site for free. http://livehelperchat.com.

Apple store Google Play Deploy to DO

Codemagic build status

Need help?

Demo

http://livehelperchat.com/demo-12c.html

Integrations

Quick development guide

  • After the app is installed, disable cache and enable debug output.
    * debug_output => true
    * templatecache => false
    * templatecompile => false
    * modulecompile => false
    
  • To compile JS from lhc_web folder execute. This will compile main JS and old widget javascript files.
    • npm install && gulp
  • To compile new widget V2
    • There is two apps wrapper and widget
    • cd lhc_web/design/defaulttheme/widget/wrapper && npm install && npm run build
    • cd lhc_web/design/defaulttheme/widget/react-app && npm install && npm run build && npm run build-ie
  • To recompile back office React APP (Left toolbar, Group Chat etc...)
    • cd lhc_web/design/defaulttheme/js/admin && npm run build
  • Recompile static JS/CSS files. This is required if you change core JS files. It also avoids missing CSS/JS files if more than one server is used.
    • php cron.php -s site_admin -c cron/util/generate_css -p 1 && gulp js-static
  • ORM - https://doc.livehelperchat.com/docs/development/orm
  • Common classes - https://doc.livehelperchat.com/docs/development/common-classes
  • To recompile everything at once
    • cd lhc_web/ && ./deploy.sh

Extensions

https://github.com/LiveHelperChat

Translations contribution

https://explore.transifex.com/remigijus-kiminas/live-helper-chat/

Folders structure

  • Directories content:
  • lhc_web - WEB application folder.

Features

A few main features:

  • Bot with the possibility to integrate any third-party AI
  • XMPP support for notifications about new chats (iPhone, iPad, Android, Blackberry, GTalk, etc.)
  • Chrome extension
  • Repeatable sound notifications
  • Work hours
  • See what the user sees with a screenshot feature
  • Drag & Drop widgets, minimize/maximize widgets
  • Multiple chats at the same time
  • See what users are typing before they send a message
  • Multiple operators
  • Send delayed canned messages as if it was a real user typing
  • Chats archive
  • Priority queue
  • Chats statistic generation, top chats
  • Resume chat after the user closed the chat
  • All chats in a single window with tabs interface; tabs are remembered before they are closed
  • Chat transcript print
  • Chat transcript send by mail
  • Site widget
  • Page embed mode for live support script or widget mode, or standard mode
  • Multilanguage
  • Chats transfering
  • Departments
  • Files upload
  • Chat search
  • Automatic transfers between departments
  • Option to generate JS for different departments
  • Option to prefill form fields.
  • Option to add custom form fields, which can be either user variables or hidden fields. Useful if you are integrating with a third-party system and want to pass user_id, for example.
  • Cronjobs
  • Callbacks
  • Closed chat callback
  • Unanswered chat callback
  • Asynchronous status loading, not blocking site javascript.
  • XML, JSON export module
  • Option to send transcript to users e-mail
  • SMTP support
  • HTTPS support
  • No third parties cookies dependency
  • Previous users chats
  • Online users tracking, including geo detection
  • GEO detection using three different sources
  • Option to configure start chat fields
  • Sounds on pending chats and new messages
  • Google chrome notifications on pending messages.
  • Browser title blinking then there is pending message.
  • Option to limit pro active chat invitation messages based on pending chats.
  • Option to configure frequency for pro active chat invitation message. You can set after how many hours for the same user invitation message should be shown again.
  • Users blocking
  • Top performance with enabled cache
  • Windows, Linux and Mac native applications.
  • Advanced embed code generation with numerous options of includable code.
  • Template override system
  • Module override system
  • Support for custom extensions
  • Changeable footer and header content
  • Option to send messges to anonymous site visitors,
  • Canned messages
  • Informing then operator or user is typing.
  • Option to see what user is typing before he sends a message
  • Canned messages for desktop client
  • Voting module
  • FAQ module
  • Online users map
  • Pro active chat invitatio
  • Remember me functionality
  • Total pageviews tracking
  • Total pageviews including previous visits tracking
  • Visits tracking, how many times user has been on your page.
  • Time spent on site
  • Auto responder
  • BB Code support. Links recognition. Smiles and few other hidden features :)
  • First user visit tracking
  • Option for customers mute sounds
  • Option for operators mute messages sounds and new pending chat's sound.
  • Option to monitor online operators.
  • Option to have different pro active messages for different domains. This can be archieved using different identifiers.
  • Dekstop client supports HTTPS
  • Protection against spammers using advanced captcha technique without requiring users to enter any captcha code.
  • Option for operator set online or offline mode.
  • Desktop client for
  • Windows
  • Linux
  • Mac
  • Flexible permission system:
  • Roles
  • Groups
  • Users

Forum: http://forum.livehelperchat.com/

lhc-chatbot's People

Contributors

remdex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lhc-chatbot's Issues

setup cronjob for Notifications autoload.php missing

I'm trying to run this command to enable cronjob notifications for visitor unread messages

php cron.php -s site_admin -c cron/notifications
But error occur due to missing files "lib/vendor/autoload.php"
PHP Warning: include(lib/vendor/autoload.php): failed to open stream: No such file or directory in
E:...\lhc_web\modules\lhcron\notifications.php on line 10

How can I solve this problem

autoload.php at /vendor is missing

Hi!
live helper chat is a nice platform to work on.
I am trying to make a distinct bot, using this sample of interfacing.
Reading the code, I found extension/vendor/autoload.php file is missing. Is this ok?
How should I fix it?

Any hint on where to hook the code and get the answers somewhere else than Chatterbot?

Thanks!!!
Fabio.

Bot Auto respond

Does is it possible to do a dialog with bot?
And in case of misunderstanding to notify operator.

keep getting connection refused

when i run the test.php receive no answer from the curl to 127.0.0.1:8080. when i look into the console, i get

ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused

what is the problem? the server answers correctly when there's secret hash mismatch. when it's correct i just get connection refused

i've got a feeling that it wants to connect to some database. but what database? where is its configuration? i see no databaser requirements, neither here, nor in the https://github.com/gunthercox/ChatterBot

'list' object has no attribute 'update'

(test) ...\livehelperchat\chattr_service_api>chatbot.py
('Started httpserver on port ', 8080)
127.0.0.1 - - [23/May/2019 08:34:19] "GET /?adddb=1&id=1&sh=my_secret_hash&ct=8
HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 60890)
Traceback (most recent call last):
  File "PATH\AppData\Local\conda\conda\envs\test\lib\socket
server.py", line 316, in _handle_request_noblock
    self.process_request(request, client_address)
  File "PATH\AppData\Local\conda\conda\envs\test\lib\socket
server.py", line 347, in process_request
    self.finish_request(request, client_address)
  File "PATH\AppData\Local\conda\conda\envs\test\lib\socket
server.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "PATH\AppData\Local\conda\conda\envs\test\lib\socket
server.py", line 720, in __init__
    self.handle()
  File "PATH\AppData\Local\conda\conda\envs\test\lib\http\s
erver.py", line 426, in handle
    self.handle_one_request()
  File "PATH\AppData\Local\conda\conda\envs\test\lib\http\s
erver.py", line 414, in handle_one_request
    method()
  File "...\livehelperchat\chattr_service_api\lhcHandler.py", line
 63, in do_GET
    self.bot.addDatabase(''.join(query_components["id"]), ''.join(query_componen
ts["ct"]))
  File "...\livehelperchat\chattr_service_api\lhcChatBot.py", line
 115, in addDatabase
    bot = self.getBot(instanceId, context)
  File "...\livehelperchat\chattr_service_api\lhcChatBot.py", line
 84, in getBot
    database_uri=self.settings['DB_URL']+self.settings['DATABASE_PREFIX'] + "-"
+ instanceId+"-"+context
  File "...\livehelperchat\chattr_service_api\lhc_chatbot.py", lin
e 59, in __init__
    self.initialize()
  File "...\livehelperchat\chattr_service_api\lhc_chatbot.py", lin
e 78, in initialize
    for function in self.get_initialization_functions().values():
  File "...\livehelperchat\chattr_service_api\lhc_chatbot.py", lin
e 70, in get_initialization_functions
    initialization_functions.update(search_algorithm_functions)
AttributeError: 'list' object has no attribute 'update'
----------------------------------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.