-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
807 additions
and
744 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 3 additions & 15 deletions
18
integ-tests/baml_src/test-files/functions/input/named-args/single/named-audio.baml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ class Resume { | |
name string | ||
email string | ||
phone string | ||
experience string[] | ||
education Education[] | ||
experience Education[] | ||
education string[] | ||
skills string[] | ||
} | ||
|
||
|
@@ -12,9 +12,7 @@ class Education { | |
location string | ||
degree string | ||
major string[] | ||
date string? @alias(start_date) @description(#" | ||
YYYY-MM | ||
"#) | ||
graduation_date string? | ||
} | ||
|
||
template_string AddRole(foo: string) #" | ||
|
@@ -31,6 +29,7 @@ function ExtractResume(resume: string, img: image?) -> Resume { | |
|
||
Extract data: | ||
|
||
|
||
<<<< | ||
{{ resume }} | ||
<<<< | ||
|
@@ -46,9 +45,9 @@ function ExtractResume(resume: string, img: image?) -> Resume { | |
test sam_resume { | ||
functions [ExtractResume] | ||
input { | ||
// img { | ||
// url "https://avatars.githubusercontent.com/u/1016595?v=4" | ||
// } | ||
img { | ||
url "https://avatars.githubusercontent.com/u/1016595?v=4" | ||
} | ||
resume #" | ||
Sam Lijin | ||
he/him | [email protected] | sxlijin.github.io | 111-222-3333 | sxlijin | sxlijin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.