Skip to content

zaimzazali/OpenAI_Knowledge-Base_Preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Preview Mode

OpenAI Knowledge-Base Integration

OpenAI-KB Logo

Let's impart some new specific knowledge to our good old OpenAI friend!


Node.Js Version npm Version Vue.js Version

Windows Version WSL2 Version

CPU Version GPU Version


MIT License


This project showcases a groundbreaking Proof-of-Concept (POC) product, illustrating the seamless integration of OpenAI and a targeted knowledge-base.

Chopper, the OpenAI-driven Chatbot, leverages on the powerful GPT-3.5 Turbo model to assist users with the latest information and updates about the online multiplayer battle arena game developed by Valve, that is Dota 2.

As a dedicated Dota 2 Assistant, Chopper will operate exclusively within the Dota 2 knowledge-base, restricting its conversations and context to the specific domain.


Motivation ๐Ÿ“Œ

The OpenAI GPT models stand as remarkable creations, aiding users in navigating vast amounts of data. However, it is crucial to note that GPT-3.5 models was trained only on data up until September 2021, missing any information after that date.

To address this limitation, the concept of the Knowledge-Base was introduced. It enables the model to learn new data and information using the innovative One-Shot Learning approach.

The primary goals of this project are to:

  1. Introduce new and specific knowledge to the GPT model.
  2. Confine conversation contexts within the domain of the knowledge base.

Side-by-Side Comparison ๐Ÿ“Œ

Base Model App With Knowledge-Base Integration
Base OpenAI Model Base OpenAI Model with Knowledge-Base Integration
It works like a normal ChatGPT, trying to have a conversation about anything.
  • Equipped with data and information up until August 2021.
  • It engaged in discussions on a wide variety of topics provided by the user.
It operates within defined parameters when responding to the user.
  • Equipped with data and information up until August 2021 and is capable of engaging in discussions exclusively on topics within the established knowledge domain.
  • Efforts were made to steer conversations back to the designated knowledge-base domain, when necessary.

User Interface (UI) Elements Showcase ๐Ÿ“Œ

Element Landscape Portrait Remarks
Info Button Base OpenAI Model Base OpenAI Model with Knowledge-Base Integration The "About" modal appears, displaying the development motivation.
Clear Button Base OpenAI Model Base OpenAI Model with Knowledge-Base Integration The "Clear Conversation" modal appears, requesting confirmation from the user.
Scrolling Base OpenAI Model Base OpenAI Model with Knowledge-Base Integration The conversation messages scroll beneath the fixed feathered header and footer.