-
Notifications
You must be signed in to change notification settings - Fork 4.1k
feat(firebaseai): Add ability for Schema class to export to json schema #18131
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
46ce91f
add support for missing fields in schema, and add ability for schema …
cynthiajoan bc525cf
add unit tests
cynthiajoan 2153d95
add the switch to FunctionDeclaration and unit test
cynthiajoan 93a0a08
Add test case in function calling page
cynthiajoan 57d4fa8
add a test to validate $ref
cynthiajoan fb3f1c2
Update packages/firebase_ai/firebase_ai/lib/src/schema.dart
cynthiajoan 5d70614
fix analyzor
cynthiajoan 713cdee
Merge branch 'firebaseai/schema_to_json_schema' of https://github.com…
cynthiajoan a344f19
restore unrelated environment files
cynthiajoan f50e534
Schema only contains field that's in the public api doc
cynthiajoan 57eccf0
Add $defs to Schema
cynthiajoan dbf6d91
temp add def test
cynthiajoan bed9b85
create JSONSchema class to make things clear
cynthiajoan 9f56fb2
name update
cynthiajoan 4c7cb3b
update tool test
cynthiajoan abcc448
fix the override analyzor issue
cynthiajoan d53ef4d
formatter
cynthiajoan a4b93a8
remove format for json schema number and integer
cynthiajoan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
3 changes: 0 additions & 3 deletions
3
packages/firebase_ai/firebase_ai/example/ios/Runner.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...ebase_ai/firebase_ai/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...e_ai/firebase_ai/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
8 changes: 0 additions & 8 deletions
8
...ase_ai/firebase_ai/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.