-
Notifications
You must be signed in to change notification settings - Fork 185
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
Davidmotson.auto functions #50
Closed
Closed
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
f95f85d
Intial implementation of automated function calling
34287a8
Add opt in annotation for v1beta endpoint
1d8ebf4
ktfmt and add licenses
61e3140
fix behavior for non-streaming chat and fix opt in propagation
8c5c798
ktfmt
bb2bed0
Merge branch 'main' into davidmotson.auto_functions
davidmotson 7cad4ca
remove logging
1136610
added convinience methods for getting function call and response type…
f8d60e3
Alternative implementation (#68)
davidmotson b09c6ef
rename annotation and cleanup rlazo@'s merge
08309a7
re-add suspend functions
0516150
add flag to disable automated function calling
6bddff8
Merge branch 'main' into davidmotson.auto_functions
davidmotson 393f918
move autofunction to request options and other merge conflicts
931cf00
add license to Type.kt
3ff8105
swap autoFunctionFlag to the negative
e9c3adc
fix dependant if statements
6c4eb81
swap output to JsonObject
6a50c76
swap public implementation to org.json
6ad8869
fix request options default
9362b10
Merge branch 'main' into davidmotson.auto_functions
davidmotson 266b335
Update generativeai/src/main/java/com/google/ai/client/generativeai/C…
davidmotson 6684478
Update generativeai/src/main/java/com/google/ai/client/generativeai/C…
davidmotson 7c57e12
Add extra datatypes and fix serialization
571308f
update copyright
b752cda
added some kdocs
470594a
ktfmt
90f2863
clean up serialization
cddfedf
fix serialization & type check for role
0d567dd
Merge branch 'main' into davidmotson.auto_functions
davidmotson 9d7a3eb
format
9d30869
add all fields including full recursive description
24f3a80
fix enum type
c57c46e
revert gradle.properties change
b1da12c
fix type declaration
dc83aea
revert copyright headers
b21f852
revert copyright headers
b53423e
update copyright header only on new files
c6a46f4
last cleanup push
e1abc62
remove unintended diffs
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 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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the inconsistent behaviour handling the functions, IMO we should have a separate entry in the sample app for function calling. This will prevent the regular chat example from failing due to an unrelated issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh whoops, this was not an intended part of the commit. I was doing this for my own testing, please ignore.