Skip to content

joaocba/openai_chatbot_alpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot AI Assistant (Native)

Technology: OpenAi

Method: Completions (davinci model)

Description:

Chatbot developed with Python and Flask that features conversation with a virtual assistant. This uses the native conversation stream without any local or indexed context. It allows to define an initial role and personification.

How to run (commands Windows terminal with Python 2.7):

Part One: Prepare Environment

  • Define necessary parameters (OpenAi API key, ...) on file 'app.py'

  • Initialize virtual environment and install dependencies, run:

      virtualenv env
      env\Scripts\activate
      pip install flask python-dotenv
      pip install openai
    

Part Two: Run the app

Changelog

  • v0.1
    • initial build