Code Monkey home page Code Monkey logo

chatgpt-xblock's Introduction

ChatGPT XBlock for the Open edX® platform

The ChatGPT XBlock is a plugin for the Open edX platform that allows you to integrate ChatGPT, an AI language model developed by OpenAI, into your Open edX courses. This XBlock enables students to ask questions and receive answers from the ChatGPT model in real time.

Features

  • Add ChatGPT Assistant to your Open edX course
  • Customizable display name, model name, API key, description, and context text
  • Easy integration with OpenAI API
  • Seamless rendering of chat interface in Open edX platform

Installation

Install the XBlock in your Open edX environment using pip:

pip install "git+https://github.com/abconlinecourses/chatgpt-xblock.git"

Add 'chatgptxblock' to the INSTALLED_APPS list in your Open edX environment settings.

Restart the Open edX platform.

Usage

  1. Navigate to the Open edX Studio for the course you want to add the ChatGPT Assistant to.
  2. Click on the "Advanced" tab and add 'chatgptxblock' to the "Advanced Module List".
  3. Click on the "Save Changes" button.
  4. Navigate to the unit where you want to add the ChatGPT Assistant.
  5. Click on the "Advanced" button in the "Add New Component" area.
  6. Select "ChatGPT Assistant" from the list.
  7. Configure the XBlock settings as desired, including display name, model name, API key, description, and context text.
  8. Publish the unit to make the ChatGPT Assistant available to students.

Customization

You can customize the ChatGPT XBlock by editing the following fields:

  1. display_name: Display name for this module
  2. model_name: ChatGPT model to use (text-davinci-003, text-davinci-002, text-curie-001, text-babbage-001, text-ada-001)
  3. api_key: Your OpenAI API key, which can be found at https://platform.openai.com/account/api-keys
  4. description: Description of the ChatGPT Assistant
  5. context_text: Context text that will be sent to the ChatGPT model along with the user's question

Notes

The API key used in the default settings is a placeholder and will not work. You need to replace it with your own OpenAI API key. The ChatGPT XBlock is built on Open edX's XBlock framework and is compatible with the Open edX platform.

License

This project is licensed under the terms of the AGPLv3 license. Please see the LICENSE file for more details.

About the Developer

Our company ABC Online Courses is an official Open edX® Partner. Our latest development, the ChatGPT XBlock for the Open edX® platform, is designed to solve the problem inherent with massive open online courses where there are not enough teaching assistants available for the large student body taking the course. The ChatGPT XBlock acts like an assistant where learners and instructors alike can ask questions and receive a response in real time from the popular AI model developed by OpenAI.

With a deep understanding of the Open edX® platform and a passion for empowering learners and educators, our company is dedicated to enhancing the e-learning experience for educational institutions, corporations, NGOs, governments, consultants, and individuals worldwide. Our team of experienced developers and educators work closely together to create cutting-edge solutions for our clients using the Open edX® platform. With a focus on seamless integration, our team provides comprehensive installation, configuration, and support services to ensure a smooth adoption of our plugin into your Open edX® platform. Join the growing community of satisfied clients who have chosen us as their trusted partner in e-learning innovation. Contact us today to learn more about how our plugin can transform your Open edX® platform and take your online courses to the next level: https://www.abconlinecourses.com/.

chatgpt-xblock's People

Contributors

deanjaymathew avatar graemeglass avatar isankadn avatar sanchitsharma 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.