Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Type Validations #822

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0b65bda
custom type assertions
anish-palakurthi Jul 22, 2024
dbf3a1f
typos
anish-palakurthi Jul 23, 2024
6f9e7a4
improvements:
anish-palakurthi Jul 23, 2024
be75c2d
added minijinja links and examples
anish-palakurthi Jul 23, 2024
5d9c1d2
removed unquoted strings from parser, validate correctness
anish-palakurthi Jul 24, 2024
f41d229
fixed integ test syntax
anish-palakurthi Jul 24, 2024
b981ac1
updated grammar
anish-palakurthi Jul 25, 2024
86d0cf5
injest parantheses, grammar draft
anish-palakurthi Jul 25, 2024
2dbe6c1
removed redundant code from previous baml parser
anish-palakurthi Jul 25, 2024
926f566
deleted more code
anish-palakurthi Jul 26, 2024
7bec459
separated field functions
anish-palakurthi Jul 26, 2024
23bb176
made it to IR
anish-palakurthi Jul 29, 2024
67ccb60
removed dual functions
anish-palakurthi Jul 29, 2024
04b5d74
piped through IR
anish-palakurthi Jul 30, 2024
ac71492
builds
anish-palakurthi Jul 30, 2024
66931a0
works for basic unit test
anish-palakurthi Jul 30, 2024
9a897fa
testing pipeline
anish-palakurthi Jul 31, 2024
88d01d4
skip consumption of parantheses
anish-palakurthi Jul 31, 2024
700bb12
doesnt panic on any tests
anish-palakurthi Jul 31, 2024
f64f1c0
updated grammar to handle comments between attr
anish-palakurthi Aug 1, 2024
1a60430
resolves attributes
anish-palakurthi Aug 1, 2024
99ef883
resolved clients and retry lookup
anish-palakurthi Aug 1, 2024
4292e70
map strings next
anish-palakurthi Aug 1, 2024
355fb19
changed integs
anish-palakurthi Aug 1, 2024
ab8a5d6
handles options, but doesn't have smells
anish-palakurthi Aug 1, 2024
6442911
intg test loop
anish-palakurthi Aug 2, 2024
e8d3324
lets go, fixed the bug
anish-palakurthi Aug 2, 2024
e6ab8e8
fixed validation errors
anish-palakurthi Aug 2, 2024
79f43ad
blocked invalid enum parsing
anish-palakurthi Aug 2, 2024
77f14be
resolved input args in jinja
anish-palakurthi Aug 3, 2024
b22c0d1
adde integs
anish-palakurthi Aug 3, 2024
c62e235
fixed input args
anish-palakurthi Aug 3, 2024
d10a063
integs
anish-palakurthi Aug 3, 2024
0ad1a2e
minor fixes
anish-palakurthi Aug 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,14 @@ navigation:
path: docs/snippets/template-string.mdx
- page: Test Cases
path: docs/snippets/test-cases.mdx
- section: Advanced BAML Snippets
- section: Advanced BAML Features
contents:
- page: Dynamic Types
path: docs/calling-baml/dynamic-types.mdx
- page: Client Registry
path: docs/calling-baml/client-registry.mdx
- page: Custom Type Validations
path: docs/calling-baml/assertions.mdx
- section: BAML with Python/TS/Ruby
contents:
- page: Generate the BAML Client
Expand All @@ -149,7 +151,7 @@ navigation:
path: docs/calling-baml/streaming.mdx
- page: Concurrent function calls
path: docs/calling-baml/concurrent-calls.mdx
- page: Multimodal
- page: Multimodal Input
path: docs/calling-baml/multi-modal.mdx
- section: Observability [Paid]
contents:
Expand Down
Loading