Skip to content

Commit

Permalink
Update dependencies and API key setup in README
Browse files Browse the repository at this point in the history
Removed unnecessary dependencies and added new ones in the README file. Also,
included instructions for configuring OpenAI API key.

- Removed BeautifulSoup, requests, and tiktoken from the requirements list -
Added markdownify and diskcache to the requirements list - Added instructions on
setting up the OpenAI API key using the 'export' command
(gpt-4)

Addresses #1
  • Loading branch information
rtwfroody committed Apr 10, 2023
1 parent 5bb3706 commit 952f48e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ it, and then uses GPT to generate a response to the user's question.

- Python 3
- OpenAI API Key
- BeautifulSoup
- requests
- tiktoken

## Installation

To install the required packages, run:

```bash
pip install duckduckgo-search openai beautifulsoup4 requests joblib tiktoken
pip install duckduckgo-search openai beautifulsoup4 requests joblib tiktoken \
markdownify diskcache
```

To configure the OpanAI API Key, run:
```bash
export OPENAI_API_KEY="<api key>"
```

## Usage
Expand Down

0 comments on commit 952f48e

Please sign in to comment.