Skip to content

Commit

Permalink
Update README to incorporate using existing docker image (microsoft#1040
Browse files Browse the repository at this point in the history
)

* Update README to incorporate using existing docker image

* Fixing precommit issues

---------

Co-authored-by: Yuandong Tian <[email protected]>
  • Loading branch information
yuandong-tian and Yuandong Tian authored Dec 22, 2023
1 parent 6e69e11 commit 831958a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,15 @@ The easiest way to start playing is
2. Copy OAI_CONFIG_LIST_sample to ./notebook folder, name to OAI_CONFIG_LIST, and set the correct configuration.
3. Start playing with the notebooks!

## Using existing docker image
Install docker, save your oai key into an environment variable name OPENAI_API_KEY, and then run the following.

```
docker pull yuandongtian/autogen:latest
docker run -it -e OPENAI_API_KEY=$OPENAI_API_KEY -p 8081:8081 docker.io/yuandongtian/autogen:latest
```

Then open `http://localhost:8081/` in your browser to use AutoGen. The UI is from `./samples/apps/autogen-assistant`. See docker hub [link](https://hub.docker.com/r/yuandongtian/autogen) for more details.

## Installation

Expand Down

0 comments on commit 831958a

Please sign in to comment.