diff --git a/docs/search.json b/docs/search.json index f84f61f..d08f606 100644 --- a/docs/search.json +++ b/docs/search.json @@ -674,5 +674,16 @@ "Workshop", "Contents" ] + }, + { + "objectID": "workshop/openai/index.html#example-workspace", + "href": "workshop/openai/index.html#example-workspace", + "title": "Setup OpenAI", + "section": "Example workspace", + "text": "Example workspace\nFor convenience, you can download an example workspace here:\n ai-coding-workshop\nOnce you have downloaded the ZIP file, unzip it and open the folder in VSCode. You can then create a virtual environment and install the dependencies. Once you have done this, you can run the code in the Jupyter Notebook cells or the Python file as described above.", + "crumbs": [ + "Workshop", + "Setup OpenAI" + ] } ] \ No newline at end of file diff --git a/docs/sitemap.xml b/docs/sitemap.xml index cd7f1b0..c08efc1 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -70,7 +70,7 @@ https://virtuelleakademie.github.io/promptly-engineered/workshop/openai/index.html - 2024-11-28T10:15:21.291Z + 2024-11-28T11:44:04.001Z https://virtuelleakademie.github.io/promptly-engineered/workshop/index.html diff --git a/docs/slides/openai-platform/index.html b/docs/slides/openai-platform/index.html index dc6a036..928b365 100644 --- a/docs/slides/openai-platform/index.html +++ b/docs/slides/openai-platform/index.html @@ -338,26 +338,48 @@ } diff --git a/docs/workshop/openai/index.html b/docs/workshop/openai/index.html index a7ad566..de69226 100644 --- a/docs/workshop/openai/index.html +++ b/docs/workshop/openai/index.html @@ -79,6 +79,7 @@ + @@ -522,6 +523,7 @@

On this page

  • Testing the OpenAI API
  • @@ -844,6 +846,12 @@

    )
    print(response)
    print(response.choices[0].message.content)
    + +
    +

    Example workspace

    +

    For convenience, you can download an example workspace here:

    +

    ai-coding-workshop

    +

    Once you have downloaded the ZIP file, unzip it and open the folder in VSCode. You can then create a virtual environment and install the dependencies. Once you have done this, you can run the code in the Jupyter Notebook cells or the Python file as described above.

    diff --git a/workshop/openai/index.qmd b/workshop/openai/index.qmd index 32686d2..cd03819 100644 --- a/workshop/openai/index.qmd +++ b/workshop/openai/index.qmd @@ -357,3 +357,12 @@ print(response) print(response.choices[0].message.content) ``` +## Example workspace + +For convenience, you can download an example workspace here: + +{{< bi link >}} [ai-coding-workshop](https://github.com/awellis/ai-coding-workshop/archive/refs/heads/main.zip) + +Once you have downloaded the ZIP file, unzip it and open the folder in VSCode. You can then create a virtual environment and install the dependencies. Once you have done this, you can run the code in the Jupyter Notebook cells or the Python file as described above. + +