Skip to content

Commit a17ca3c

Browse files
authored
Merge pull request #2 from guidance-ai/nking/more-notebooks
Tool calling and regex constraints notebooks
2 parents 91c94df + 2b2f9a3 commit a17ca3c

File tree

10 files changed

+27402
-81169
lines changed

10 files changed

+27402
-81169
lines changed

public/notebooks/code_chat.html

Lines changed: 0 additions & 13564 deletions
This file was deleted.

public/notebooks/guidance_acceleration.html

Lines changed: 0 additions & 13325 deletions
This file was deleted.

public/notebooks/html_cookbook.html

Lines changed: 0 additions & 13430 deletions
This file was deleted.

public/notebooks/multimodal_examples.html

Lines changed: 0 additions & 13341 deletions
This file was deleted.

public/notebooks/perplexity_in_json.html

Lines changed: 0 additions & 13685 deletions
This file was deleted.

public/notebooks/prompt_boundaries_and_token_healing.html

Lines changed: 0 additions & 13823 deletions
This file was deleted.

public/notebooks/regex_constraints.html

Lines changed: 13525 additions & 0 deletions
Large diffs are not rendered by default.

public/notebooks/tool_calling.html

Lines changed: 13872 additions & 0 deletions
Large diffs are not rendered by default.

src/components/react/SideNav.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ function SideNav({
6666
// "Constrained Decoding": "unknown_notebook",
6767
"Art of Prompt Design: Clear Syntax": "use_clear_syntax",
6868
"Art of Prompt Design: Prompt Boundaries and Token Healing": "token_healing",
69+
"Regex Constraints": "regex_constraints",
70+
"Tool Calling": "tool_calling",
6971
// "Guidance Acceleration Deep Dive": "guidance_acceleration",
7072
// "Multimodal Inputs": "unknown_notebook"
7173
};

src/utils/constants.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
export const notebookNames = [
33
"intro_to_guidance",
44
"token_healing",
5-
"use_clear_syntax"
5+
"use_clear_syntax",
6+
"regex_constraints",
7+
"tool_calling"
68
] as const;
79

810
// Creates a type that is the union of all indexible noteobok names

0 commit comments

Comments
 (0)