Code Monkey home page Code Monkey logo

ai-chatbot-chatgpt's Introduction

A symfony 6 Chatbot Demo using GPT-4o, 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 © 2024
@vikbert for CSS and botman starter
@jessica kuijer

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.