Skip to content

hoaian-phan/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project goal

Practice building applications with OpenAI API, starting with a basic chatbot that can answer general knowledge questions.

Tech stack

  • Python
  • Streamlit
  • OpenAI APIs

This is my first time using Streamlit. It is an open-source app framework and a Python package that can help me create a web application without involving any front-end framework or coding in HTML, CSS and JavaScript. It serves my purpose well.

MVP

  • Get user input.
  • Make requests to the Completion endpoint of OpenAI API to get responses to user input.
  • Display the chat history on screen.

Screenshot

Future improvements:

  • Check contents of user input (by calling the Moderations endpoint).
  • Evaluate inputs by classification.
  • Check outputs and evaluation.
  • Train the bot with specific datasets.

Resources for this project:

About

Build a chatbot using OpenAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages