Skip to content

A chatbot aimed to mentally support people who are going through tough times. Powered by MindsDB.

License

Notifications You must be signed in to change notification settings

SebastianJames55/mind-reader-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mind-reader-chatbot

A chatbot aimed to mentally support people who are going through tough times. Powered by MindsDB.

Here's how you can set up an automated AI chatbot for yourself.

Prerequisites

  • Get an OpenAI API key
  • Set up mindsdb locally
  • Configure YugabyteDB
    • Create an account & a free cluster. Take a note of your DB credentials.
      Configure IP allow list
      Configure IP allow list Launch cloud shell and login using DB credentials Launch cloud shell
    • Run the following commands:
      create database demo;
      Connect to database:
      \c demo
        CREATE TABLE chatbot_input (
         id SERIAL PRIMARY KEY,  
         created_at timestamptz DEFAULT CURRENT_TIMESTAMP,
         text varchar(255)
      );
      
      CREATE TABLE chatbot_output (
         id SERIAL PRIMARY KEY,  
         created_at timestamptz DEFAULT CURRENT_TIMESTAMP,
         text varchar(1000)    
      );  
      
    • Take a note of the host under connection parameters:
      Connection parameters

Usage

Head over to queries.sql file. You can run the commands line by line to create your own mind-reader chatbot.

About

A chatbot aimed to mentally support people who are going through tough times. Powered by MindsDB.

Resources

License

Stars

Watchers

Forks

Packages

No packages published