Skip to content

jessicakuijer/ai-chatbot-ChatGPT

Repository files navigation

A symfony 6 Chatbot Demo using ChatGPT-4-turbo, Youtube, Giphy, WeatherStack apis...🇫🇷 🇺🇸

This is a symfony 6 Chatbot Demo by using [Botman](https://botman.io).
It can be used as Chatbot symfony 6 starter.

PRs Welcome MIT License


screenshot1 screenshot1

DEMO live

Demo deployed on Heroku

This demo is password protected. Send me a request so I can create your credentials.
@jessica kuijer

Install

composer install 

Start

symfony serve -d
# open https://127.0.0.1:8000

On local (dev) environment, use mysql for your own use and then you can create admins with the command:

bin/console app:create:admin

An invite in your terminal will ask for your credentials and password is hashed.

Routes

You can access the main website and /login page only. (& /logout)
Admins can access /chat page for using AI-chatbot.

ChatBot Commands to test

  • "hi" or "salut"
  • "weather in london" or "prévision météo à paris" or "météo à new york"
  • "give me a gif cats" or "envoi un gif mr bean"
  • "my name is john" or "mon nom est alice" or "je m'appelle jessica"
  • "say my name" or "dis mon nom"
  • "what's my name?" or "name" or "nom" or "quel est mon nom?"
  • "give me a youtube movie back to the future" or "donne moi une vidéo youtube chats"
  • "news trump" or "actualités pierre palmade"
  • "prévision météo à paris" or "weather in new york"
  • THEN... ask for everything you want, AI chatGPT will give you answers. 🤖

API used in POC (you have to get your own api keys as environnement variables)

API Youtube data V3
API Giphy
API OpenAI for ChatGPT-4 PHP
API WeatherStack
API GNews

Configure your environnement variables that you can find in services.yaml parameters and .env.local

licenses

MIT License © 2023
@vikbert for CSS and botman starter
@jessica kuijer

About

A symfony chatbot Proof of concept, by using botman lib, ChatGPT-4-turbo model, YoutubeV3 api and other apis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published