GithubHelp home page GithubHelp logo

ibentau / ibentaugpt Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 6.0 47 KB

A quick demo on how to make a knowledge based chatbot using OpenAI embedding and GPT-3 APIs

License: MIT License

JavaScript 8.37% HTML 2.19% CSS 0.76% TypeScript 40.89% Svelte 47.79%
chatbot embeddings openai school-project svelte langchain typescript

ibentaugpt's Introduction

Ibentau powered by GPT

A quick demo on how to make a knowledge based chatbot using OpenAI embedding and GPT-3 APIs

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have an OpenAI API key. To obtain one, sign up at OpenAI.
  • You have a Pinecone API key. To obtain one, sign up at Pinecone.

Configuration

To configure your environment, create a .env file in the root directory of the project with the following content:

OPENAI_API_KEY=<your_openai_api_key>
PINECONE_API_KEY=<your_pinecone_api_key>
PINECONE_ENVIRONMENT=<your_pinecone_environment>
PINECONE_INDEX=<your_pinecone_index>

Replace <your_openai_api_key>, <your_pinecone_api_key>, <your_pinecone_environment>, and <your_pinecone_index> with the corresponding API keys and values from OpenAI and Pinecone.

Installation

To install the required dependencies, follow these steps:

  1. Clone the repository:
  2. Change into the project directory
  3. Install the required packages:
npm install

Usage

To run the Ibentau chatbot, use the following command:

npm run generate_embeddings # Generate embeddings for the knowledge base
npm run build # Build the project
npm run preview # Start the chatbot

License

This project is licensed under the MIT License. See the LICENSE file for more information.

ibentaugpt's People

Contributors

pixselve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.