Home > @google/generative-ai > StringSchema
Describes a string.
Signature:
export interface StringSchema extends BaseSchema
Extends: BaseSchema
Property | Modifiers | Type | Description |
---|---|---|---|
enum? | string[] | (Optional) If present, limits the result to one of the given values. | |
type | typeof SchemaType.STRING |