Skip to content

Commit

Permalink
Update VSCode settings and slide content, add new pages, and modify s…
Browse files Browse the repository at this point in the history
…cript pipeline visualization scale
  • Loading branch information
pelikhan committed Sep 11, 2024
1 parent 2cdfeb2 commit 2148bde
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 19 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"Agentic",
"AICI",
"arrayify",
"Automatable",
"bitindex",
"Codespaces",
"demux",
Expand Down
6 changes: 6 additions & 0 deletions slides/pages/prompts-are-programs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: section
---

# Prompts are programs

14 changes: 12 additions & 2 deletions slides/pages/script-pipeline.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
```mermaid { scale: 0.75 }
```mermaid { scale: 0.6 }
stateDiagram
context: files (text, PDF, DOCX, ...)
script : user script (.genai.js)
Expand All @@ -9,10 +9,20 @@ stateDiagram
script --> prompt
system --> prompt
note right of system: Teach LLM about micro-formats.
prompt --> response : LLM (OpenAI Chat API)
prompt --> api
api --> response
api: LLM API
api --> tools
tools --> api
prompt --> run_prompt
run_prompt --> prompt : LLM (OpenAI Chat API)
run_prompt: inner prompts
run_prompt --> inner_tools
inner_tools --> run_prompt
inner_tools: tools
inner_tools --> inner2_prompts
inner2_prompts --> inner_tools
inner2_prompts: more prompts...
response: response (text)
files: files (workspace edits)
data: data (JSON, YAML, CSV, ...)
Expand Down
8 changes: 6 additions & 2 deletions slides/pages/vision.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ image: /script-pl.png
backgroundSize: 75%

---
# Empower Users with AI-Enhanced Scripts
# Prompts are programs
##

### Scripting languages have had enormous impact
Expand All @@ -13,7 +13,11 @@ backgroundSize: 75%
<v-click>

### GenAIScript, a LLM-first script
- JavaScript, genai tools (PDF decoders, ...), prompt generation, output parsing
- JavaScript
- genai runtime (PDF decoders, ...)
- context size handling
- structured output parsing
- tools...

</v-click>

Expand Down
25 changes: 10 additions & 15 deletions slides/slides-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,13 @@ layout: center

https://microsoft.github.io/genaiscript/

---
src: pages/aisw-intro.md
---

---
src: pages/vision.md
---

---
src: pages/script-intro.md
src: pages/prompts-are-programs.md
---

---
Expand All @@ -54,39 +51,37 @@ src: pages/script-prompt.md
---

---
src: pages/system-scripts.md
src: pages/response-processing.md
---

---
src: pages/llm-invocation.md
---

---
src: pages/response-processing.md
src: pages/image-alt-text.md
---

---
src: pages/script-pipeline.md
src: pages/makecode-translations.md
---

---
src: pages/vscode.md
src: pages/tla-plus.md
---


---
src: pages/js-runtime.md
src: pages/script-pipeline.md
---

---
src: pages/image-alt-text.md
src: pages/vscode.md
---

---
src: pages/makecode-translations.md
src: pages/js-runtime.md
---

---
src: pages/tla-plus.md
src: pages/system-scripts.md
---

---
Expand Down

0 comments on commit 2148bde

Please sign in to comment.