Giter VIP home page Giter VIP logo

icwa's Introduction

IBRS

A simple chat bot for IBRS data

Setting up

  1. Install the following Microsoft VScode extentions
  • Jupyter - this enables you to run the notbooks directly in VScode rather than in Colab.
  • Python - this enable you to run python in VScode
  1. Clone this repo to your local machine. The easy way is to use VScode clone command.

    CTL-SHIFT-P  
       Git: Clone
       Clone from GitHub
       https://github.com/Kevin-McIsaac/IBRS.git
    
  2. Check that python and pip are installed. In a terminal

    python --version
    pip --version
    
  3. Consider consider using a python virtual environment rather than a global installation. You can use VSCode using

    CTRL-SHIFT P Venv
    CTRL-SHIFT P Python: Select Interpreter
    

    or do this manually

    python -m venv .venv
    
  4. If you open the terminal using VScode this will automatically activated the the local virtual venv, other wise use 'source', then install the python modules listed in requirements.txt.

    source .venv/bin/activate
    pip install -r requirements.txt
    
  5. Create a .env file with the necessary API information or upload the version I sent you.

     # IBRS Pinecone credentials
     INDEX='ibrs'
     PINECONE_API_KEY=''
     PINECONE_ENV=''
    
     #IBRS OPEN API credentials
     OPENAI_API_KEY= ''
    
     #IBRS WordPress credentials
     IBRS_API_BEARER = ''
    

How to use

The Q&A bot is called gideon.py and written in python using streamlit. You can run this using

streamlit run gideon.py

This will print a URL to the local web page to access the running application.

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.