Skip to content

Commit

Permalink
Merge branch 'main' into github_readers
Browse files Browse the repository at this point in the history
  • Loading branch information
rwood-97 committed Sep 13, 2023
2 parents 0b252ec + 56a4113 commit a8ed5f5
Show file tree
Hide file tree
Showing 100 changed files with 2,907 additions and 4,305 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ pre-commit install
source .env
```

1. Run the bot:
1. Run the bot using [`slack_bot/run.py`](https://github.com/alan-turing-institute/reginald/blob/main/slack_bot/run.py). To see CLI arguments:
```bash
python slack_bot/bot.py
python slack_bot/run.py --help
```

The bot will now listen for @mentions in the channels it's added to and respond with a simple message.
Expand Down
4 changes: 2 additions & 2 deletions azure/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ if [ -z "$LLAMA_SLACK_BOT_TOKEN" ]; then
fi
AZURE_KEYVAULT_AUTH_VIA_CLI=true pulumi config set --secret LLAMA_SLACK_BOT_TOKEN "$LLAMA_SLACK_BOT_TOKEN"

# The ChatCompletionAzure and LlamaGPT35TurboAzure models need an Azure backend
# The ChatCompletionAzure and LlamaGPTAzure models need an Azure backend
if [[ $REGINALD_MODEL == *azure* ]]; then
if [ -z "$OPENAI_AZURE_API_BASE" ]; then
echo "Please provide a OPENAI_AZURE_API_BASE:"
Expand All @@ -139,7 +139,7 @@ if [[ $REGINALD_MODEL == *azure* ]]; then
AZURE_KEYVAULT_AUTH_VIA_CLI=true pulumi config set --secret OPENAI_AZURE_API_KEY "$OPENAI_AZURE_API_KEY"
fi

# The ChatCompletionOpenAI and LlamaGPT35TurboOpenAI models need an OpenAI key
# The ChatCompletionOpenAI and LlamaGPTOpenAI models need an OpenAI key
if [[ $REGINALD_MODEL == *openai* ]]; then
if [ -z "$OPENAI_API_KEY" ]; then
echo "Please provide a OPENAI_API_KEY:"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
61 changes: 0 additions & 61 deletions data/unused/wiki-raw/Annual-appraisals.md

This file was deleted.

41 changes: 0 additions & 41 deletions data/unused/wiki-raw/Annual-pay-increases.md

This file was deleted.

19 changes: 0 additions & 19 deletions data/unused/wiki-raw/Azure.md

This file was deleted.

11 changes: 0 additions & 11 deletions data/unused/wiki-raw/Booking-Rooms.md

This file was deleted.

Loading

0 comments on commit a8ed5f5

Please sign in to comment.