Coder Social home page Coder Social logo

aayushkumar20 / chatbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itsguneetsingh/chatbot

0.0 0.0 0.0 6 KB

Chatbot with both short term and long term memory with focus on scalability and data safety and most importantly speed

Python 100.00%

chatbot's Introduction

Certainly! Here's an enhanced README for your GitHub project with emojis and a more visually appealing format:


๐Ÿค– Blank - A Scalable Chatbot

๐Ÿ’ฌ Description

Blank is a chatbot with both short-term and long-term memory, designed with a focus on scalability and data safety, while ensuring lightning-fast responses. ๐Ÿš€

โš™๏ธ Installation

To set up Blank, follow these steps:

  1. Use pip to install all the required packages mentioned in requirements.txt.

    pip install -r requirements.txt
  2. Create a separate file named constants.py and define the following variables with your values in uppercase using underscores:

    OPENAI_API_KEY = ""
    PINECONE_API_KEY = ""
    PINECONE_ENVIRONMENT = ""
    PINECONE_INDEX_NAME = ""
    UNSTRUCTURED_IO_API_KEY = ""

๐Ÿš€ Usage

Retrieval

To use the retrieval capabilities of Blank, follow these steps:

  1. Run the chatbot.py file with Python.

    python chatbot.py
  2. ๐Ÿ—จ๏ธ Enter your query when prompted.

Embedding

To embed data into Pinecone vector storage, follow these steps:

  1. Run the embeddingUtils.py file with Python.

    python embeddingUtils.py
  2. Create a folder named 'data' and place all the files containing the data to be embedded inside this folder.

โœ‰๏ธ Contact Information

Your Email Address (optional)

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.