UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
The Schema object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an OpenAPI 3.0 schema object. More...
Public Attributes | |
GeminiSchemaDataType | Type |
Data type. | |
GeminiSchemaDataFormat | Format = GeminiSchemaDataFormat.Unspecified |
The format of the data. This is used only for primitive datatypes. | |
string | Description = null |
A brief description of the parameter. This could contain examples of use. Parameter description may be formatted as Markdown. | |
bool? | Nullable = null |
Indicates if the value may be null. | |
string[] | Enum = null |
Possible values of the element of GeminiSchemaDataType.String with enum format. | |
long? | MaxItems = null |
Optional. Maximum number of the elements for GeminiSchemaDataType.Array. | |
Dictionary< string, GeminiSchema > | Properties = null |
The properties of GeminiSchemaDataType.Object. | |
string[] | Required = null |
Required properties of GeminiSchemaDataType.Object. | |
GeminiSchema | Items = null |
Schema of the elements of GeminiSchemaDataType.Array. | |
The Schema object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an OpenAPI 3.0 schema object.
string [] Uralstech.UGemini.Models.Generation.Schema.GeminiSchema.Enum = null |
Possible values of the element of GeminiSchemaDataType.String with enum format.
For example we can define an Enum Direction as: