Skip to content

feat(vertexai): add name constructor for function calling schema #12898

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 3 commits into from
Jun 7, 2024
Merged
Changes from 1 commit
Commits
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
Prev Previous commit
fix for analyzer
  • Loading branch information
cynthiajoan committed Jun 7, 2024
commit b3d19769d9e94872c9f0da089d36c8c4b7b03c52
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,18 @@ enum FunctionCallingMode {
/// Represents a select subset of an
/// [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema).
final class Schema {
/// Constructor
Schema(
this.type, {
this.format,
this.description,
this.nullable,
this.enumValues,
this.items,
this.properties,
this.requiredProperties,
});

/// Construct a schema for an object with one or more properties.
Schema.object({
required Map<String, Schema> properties,
Expand Down Expand Up @@ -271,18 +283,6 @@ final class Schema {
nullable: nullable,
);

/// Constructor
Schema(
this.type, {
this.format,
this.description,
this.nullable,
this.enumValues,
this.items,
this.properties,
this.requiredProperties,
});

/// The type of this value.
SchemaType type;

Expand Down
Loading