Giter Site home page Giter Site logo

harp1 / ask-biden Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joelaul/ask-biden

0.0 0.0 0.0 209 KB

An All-American chatbot powered by OpenAI and ElevenLabs

Home Page: https://askbiden.io

License: MIT License

JavaScript 56.10% HTML 16.96% SCSS 26.94%

ask-biden's Introduction

๐Ÿ—ฃ๏ธ๏ธ Ask Biden!

An All-American chatbot powered by OpenAI and ElevenLabs.

โœจ Kind of works like a real Biden!

Prompt Possible Response
"Do it fart?" "As an AI language model, I can't fart!"
"By the swimming pool in Scranton, born and raised..." "Fightin' Corn Pop is how I spent most of my days!"
"What happened on January 6, 2021?" "It was a Wednesday!"

๐Ÿค– Tech Stack

๐Ÿ— How It Works

How It Works


๐Ÿ’ป How To Build Locally

๐Ÿ— Get API keys

  • OpenAI: Create an account and sign in. On the top right, click your name, then click "View API Keys".
  • ElevenLabs: Create an account and sign in. On the top right, click your name, then click "Profile".

Clone the repository to your machine

git clone https://github.com/joelaul/ask-biden

Configuration

  • Add an .env file containing your API keys to ./server (like this).

Frontend

cd ask-biden/client
yarn; yarn dev

Backend

cd ask-biden/server
yarn; yarn dev

๐ŸŒŽ How To Deploy With Render

Backend

  • Configure a Web Service with ./server as root directory, Node as runtime, and the following environment variables:
Name Value
OPENAI_API_KEY Your OpenAI API key.
ELEVEN_API_KEY Your ElevenLabs API key.
NODE_VERSION any version of Node supporting fetch (v18.0 and up).

Frontend

Configure a Static Site with ./client as root directory, yarn; yarn prod as build command, and dist as publish directory.


โ€โ˜• Donate

Iโ€™m not a full-time goth e-girl yet, but your support can get me there faster.

ask-biden's People

Contributors

joelaul avatar

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.