Skip to content

Commit

Permalink
generate alt texts
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Mar 23, 2024
1 parent 3fa7e4b commit 29d63a0
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/genaisrc/image-alt-text.genai.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ script({
})

const file = env.files[0]
const txt = await fs.readFile(file.filename + ".txt")
if (txt.content)
cancel("Alt text file already exists")
defImages(file)

$`You are an expert in assistive technology. You will analyze each image
Expand Down
1 change: 1 addition & 0 deletions docs/src/assets/bwicon.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A black and white icon depicting the stylized letters 'gen AI' with 'gen' stacked above 'AI'.
1 change: 1 addition & 0 deletions docs/src/assets/hero.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Logo with the text 'gen AI' in black on a yellow background. The 'gen' is in lowercase while the 'AI' is in uppercase.
1 change: 1 addition & 0 deletions docs/src/assets/icon.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A square icon with rounded corners featuring a stylized black text 'gen' above 'AI' with 'gen' in a smaller font, all set against a bright yellow background.
1 change: 1 addition & 0 deletions docs/src/assets/vscode-genaiscript-view.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Icon for genAI script view in Visual Studio Code, featuring the text 'gen AI' in white on a dark background with a red outline.
1 change: 1 addition & 0 deletions docs/src/assets/vscode-insiders.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Icon of Visual Studio Code Insiders featuring a green folded ribbon-like shape forming a stylized letter 'V' on a white background, highlighted with a red rectangle indicating selection or focus.
1 change: 1 addition & 0 deletions docs/src/assets/vscode-marketplace.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Visual Studio Code Marketplace listing for 'GenAIScript' extension by Microsoft, featuring a logo with 'gen AI' in yellow on a black background, followed by the text 'GenAIScript Generative AI Scripting.' with a settings gear icon to the right.
1 change: 1 addition & 0 deletions docs/src/assets/vscode-select-llm.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A screenshot of a Visual Studio Code interface with a dialog box titled 'Pick a Language Model'. The dialog box contains a search bar and a list of options including 'Configure .env file', 'Copilot: copilot-gpt-3.5-turbo', and 'Copilot: copilot-gpt-4'. The 'Configure .env file' option is highlighted.

0 comments on commit 29d63a0

Please sign in to comment.