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

Add types to represent JSON values #112

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

andrewheard
Copy link
Collaborator

@andrewheard andrewheard commented Feb 26, 2024

Added a JSONValue type for decoding google.protobuf.Struct values in preparation for function calling. Struct types are used in FunctionCall.args and FunctionResponse.response.

Note: merging into a new function-calling feature branch, not main.

@andrewheard andrewheard marked this pull request as ready for review February 26, 2024 23:01
@github-actions github-actions bot added component:swift sdk Issue/PR related to Swift SDK status:awaiting review PR awaiting review from a maintainer labels Feb 26, 2024
@andrewheard andrewheard merged commit 31353c2 into function-calling Feb 27, 2024
10 checks passed
@andrewheard andrewheard deleted the ah/json-value branch February 27, 2024 15:21
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Feb 27, 2024
andrewheard added a commit that referenced this pull request Mar 5, 2024
SsomsakTH pushed a commit to SsomsakTH/generative-ai-swift that referenced this pull request Jun 21, 2024
SsomsakTH pushed a commit to SsomsakTH/generative-ai-swift that referenced this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:swift sdk Issue/PR related to Swift SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants