Skip to content

Commit 4c9f19f

Browse files
author
Colin McNeil
committed
Add more context and usage tips in readme
1 parent 66184b8 commit 4c9f19f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# AI Tools for Developers
2+
3+
Agentic AI workflows enabled by Docker containers.
4+
5+
Source for many experiments in our [LinkedIn newsletter](https://www.linkedin.com/newsletters/docker-labs-genai-7204877599427194882/)
16

27
## Running Prompts
38

@@ -36,6 +41,11 @@ docker run --rm \
3641

3742
## Running a Conversation Loop
3843

44+
Set OpenAI key
45+
```sh
46+
echo $OPENAI_API_KEY > $HOME/.openai-api-key
47+
```
48+
Run
3949
```sh
4050
docker run --rm \
4151
-it \
@@ -56,6 +66,11 @@ If you want to run a conversation loop with local prompts then you need to think
5666
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
5767
$PROMPTS_DIR to point at the directory containing our prompts.
5868

69+
Set OpenAI key
70+
```sh
71+
echo $OPENAI_API_KEY > $HOME/.openai-api-key
72+
```
73+
Run
5974
```sh
6075
docker run --rm \
6176
-it \

0 commit comments

Comments
 (0)