Type Alias IDeepSeekSchema

Type schema info of the DeepSeek.

IDeepSeekSchema is a type schema info of the DeepSeek function calling.

IDeepSeekSchema seems fully supporting the JSON schema definition of the OpenAPI v3.1 specification; OpenApiV3_1.IJsonSchema. By the way, as the OpenApiV3_1.IJsonSchema has too much ambiguous and duplicated expressions, IDeepSeekSchema is designed to be clear and simple for the DeepSeek function calling, by utilizing ILlmSchemaV3_1 which has been transformed from the OpenApi.IJsonSchema for the convenience and clarity.

Therefore, IDeepSeekSchema does not follow the entire specification of the OpenAPI v3.1. It has own specific restrictions and definitions. Here is the list of how ILlmSchemaV3_1 is different with the OpenAPI v3.1 JSON schema.

If compare with the OpenApi.IJsonSchema, the emended JSON schema specification,

For reference, if you've composed the IDeepSeekSchema type with the IDeepSeekSchema.IConfig.reference false option (default is false), only the recursive named types would be archived into the IDeepSeekSchema.IParameters.$defs, and the others would be escaped from the IDeepSeekSchema.IReference type.

Jeongho Nam - https://github.com/samchon