Skip to content

Commit

Permalink
Add more context and usage tips in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinMcNeil committed Jul 12, 2024
1 parent 66184b8 commit 4c9f19f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# AI Tools for Developers

Agentic AI workflows enabled by Docker containers.

Source for many experiments in our [LinkedIn newsletter](https://www.linkedin.com/newsletters/docker-labs-genai-7204877599427194882/)

## Running Prompts

Expand Down Expand Up @@ -36,6 +41,11 @@ docker run --rm \

## Running a Conversation Loop

Set OpenAI key
```sh
echo $OPENAI_API_KEY > $HOME/.openai-api-key
```
Run
```sh
docker run --rm \
-it \
Expand All @@ -56,6 +66,11 @@ If you want to run a conversation loop with local prompts then you need to think
and the one that contains your prompts (let's call that $PROMPTS_DIR). Here's a command line for running the prompts when our $PWD is the project root and we've set the environment variable
$PROMPTS_DIR to point at the directory containing our prompts.

Set OpenAI key
```sh
echo $OPENAI_API_KEY > $HOME/.openai-api-key
```
Run
```sh
docker run --rm \
-it \
Expand Down

0 comments on commit 4c9f19f

Please sign in to comment.