Skip to content

Commit

Permalink
Merge pull request #5 from AdesholaAfolabi/llm-finetuning
Browse files Browse the repository at this point in the history
Modified Readme.md file
  • Loading branch information
AdesholaAfolabi authored Oct 17, 2023
2 parents ecc17e5 + 9d2f26a commit 99e1926
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Tempo AI Knowledge Base

The Tempo AI Knowledge Base is deployed as both a web app (using Streamlit) and a Slack app.
The AI Knowledge Base (AIKB) will be a one-stop-shop for ALL information retrieval across all Tempo products.
The application is deployed as both a web app (using Streamlit) and a Slack.

## Getting Started

Before you begin, make sure to install all the required libraries listed in the `requirements.txt` file. We recommend setting up your environment within a virtual environment. Additionally, if you prefer containerization, our code is Dockerized for your convenience.
Before you begin, make sure to install all the required libraries listed in the `requirements.txt` file. It is recommended that you set up your environment within a virtual environment. Additionally, there is a Dockerfile avaialble which will be pushed to ECR.

### Web App

Expand All @@ -23,19 +24,19 @@ The web app should now be up and running. See below for a preview of how the app

### Slack App

The Slack app setup involves a few additional steps, as it requires access to the Slack account you're using and adjustments to public URLs provided by Ngrok.
The Slack app setup involves a few additional steps, as it requires access to the Slack account you're using and adjustments to public URLs provided by Ngrok. To avoid a completely new set up, I am happy to share the present Slack workspace being used, and the required authentication to use the AI App.
1. Start by installing Ngrok on your local machine.
2. Run the slackgpt.py script locally. By default, it runs on 127.0.0.1:80.
2. Run the slackgpt.py script locally by running `sudo python slackgpt.py`. By default, it runs on 127.0.0.1:80.
3. Launch Ngrok with the following command:
```bash
ngrok http 80
4. Copy the public URL provided by Ngrok.
5. Access the Slack app [settings page](https://api.slack.com/apps).
5. Access the Slack app [settings page](https://api.slack.com/apps). Kindly reach out for more details on using the existing app
6. Update the Slash Commands request URL to reflect the new URL provided by Ngrok.
7. In your Slack workspace, type /ai-helper and ask your question to interact with the app.
7. In your Slack workspace, type /ai-helper and ask your question to interact with the app. See sample request and response below
![slack app](./app_images/slack.png)

0 comments on commit 99e1926

Please sign in to comment.