Skip to content

davidalliger/servo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Servo: The Robot Butler

Servo is a robot butler that can respond to text prompts. A user can enter a prompt into the text field and hit submit to send a request to Servo. The user's prompts and Servo's responses are displayed list-style underneath.

Implementation

Servo utilizes the public API for OpenAI's powerful AI model, GPT-3. The client sends a POST request to the API, and the API return's Servo's response. The application was built using the React frontend library. The App component contains a form with a controlled text input, which updates certain stateful variables on change. When the form is submitted, a fetch request with a method of "POST" is sent to the external API, and the response gets recorded and displayed below the form.

servo-3

servo-2

servo-1

Screenshots

servo-4

servo-5

Possible Future Features

In the future, it would be neat to create a backend for the application with a database and user authentication. That way, people could sign up for an account and log in whenever they want to view their exchanges with Servo.

About

Servo the Robot Butler provides text generation based on user prompts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors