This is a Ruby on Rails application that allows users to ask a question to a ChatBot using OpenAI API and see the response on the page.
To install this application, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/yourusername/your-repo.git
-
Navigate into the project directory:
cd your-repo
-
Install the necessary dependencies using bundler:
bundle install
-
Add the API_TOKEN to the .envrc
-
Start the Rails server:
rails server
-
Navigate to
http://localhost:3000
in your web browser to view the application. -
Just ask the question...✨
To use the application, follow these steps:
- Navigate to
http://localhost:3000
in your web browser. - Enter a question in the text field and click the
Ask
button. - The response from the Chatbot will be displayed on the page.
This project is licensed under the Apache 2.0 License. See the LICENSE
file for details.