GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - andreped/ReferenceBot: KnowledgeGPT + Azure OpenAI = <3

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.streamlit
.streamlit
 
 
knowledge_gpt
knowledge_gpt
 
 
shell
shell
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 
setup.cfg
setup.cfg
 
 

Repository files navigation

title ReferenceBot: KnowledgeGPT + Azure OpenAI = <3
colorFrom indigo
colorTo indigo
sdk docker
app_port 8501
emoji 💬
pinned false
license mit
app_file knowledge_gpt/main.py

ReferenceBot

License Streamlit App CI/CD

Continuous integration

Build Type Status
HF Deploy Deploy
File size check Filesize
Formatting check Filesize

Installation

Follow the instructions below to run the Streamlit server locally.

Prerequisites

Make sure you have Python ≥3.10 installed.

Steps

These instructions were tested on macOS 13.6 Ventura with ARM CPU and Python 3.10.11.

  1. Clone the repository:
git clone https://github.com/andreped/ReferenceBot
cd ReferenceBot
  1. Setup virtual environment and install dependencies:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Create the secrets file at .streamlit/secrets.toml and fill in the relevant info:
OPENAI_API_KEY = "<insert OpenAI API key>"
CHATGPT_MODEL = "<insert model name>"
OPENAI_API_BASE = "https://<insert-openai-service-name>.openai.azure.com"
OPENAI_API_VERSION = "<insert version>"
ENGINE = "<insert deployment model name>"
ENGINE_EMBEDDING = "<insert deployment embedding name>"
  1. Run the Streamlit server
streamlit run knowledge_gpt/main.py

Build with Docker

Run the following commands to build and run the Docker image.

docker build -t reference-bot .
docker run -p 8501:8501 reference-bot

Open http://localhost:8501 in your browser to access the app.

Demo

A live demonstration is hosted at Hugging Face! Click the 🤗 badge above.

Screenshot 2023-10-30 at 15 35 51

Acknowledgements

We have built on-top of KnowledgeGPT to enable the tool be be used with Azure OpenAI Services. Thus, all credit should go towards the original developers.

License

Distributed under the MIT License. See LICENSE for more information.

About

KnowledgeGPT + Azure OpenAI = <3

Topics

aiazurebotchatbothuggingfacehuggingface-spacesknowledge-gptlangchainllmmitopenaistreamlit

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.