From f7d86ca3f40cc15a10bb5bd9019075a6e68c0432 Mon Sep 17 00:00:00 2001 From: Andrew Ellis Date: Thu, 28 Nov 2024 08:45:31 +0100 Subject: [PATCH] Create index.qmd --- projects/anki/example/index.qmd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 projects/anki/example/index.qmd diff --git a/projects/anki/example/index.qmd b/projects/anki/example/index.qmd new file mode 100644 index 0000000..dccc7e8 --- /dev/null +++ b/projects/anki/example/index.qmd @@ -0,0 +1,15 @@ +--- +title: "Generate Anki flashcards: example code" +jupyter: python3 +--- + +```{python} +from dotenv import load_dotenv # For loading environment variables +from openai import OpenAI +``` + +```{python} +load_dotenv() +client = OpenAI() +``` +