Skip to content

Commit

Permalink
Merge pull request #17 from wrtnio/feat/schema
Browse files Browse the repository at this point in the history
Expand `ISwaggerSchema` to LLM schemas.
  • Loading branch information
samchon authored Jan 9, 2025
2 parents 8718c49 + 00496d0 commit edcaa3b
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wrtnio/schema",
"version": "3.2.0",
"version": "3.2.1",
"description": "JSON and LLM function calling schemas extended for Wrtn Studio Pro",
"main": "lib/index.js",
"module": "./lib/index.mjs",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"homepage": "https://github.com/wrtnio/schema#readme",
"dependencies": {
"@samchon/openapi": "^2.2.1"
"@samchon/openapi": "^2.3.3"
},
"devDependencies": {
"@nestia/core": "^4.4.2",
Expand Down
54 changes: 54 additions & 0 deletions src/ISwaggerSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,58 @@ declare module "@samchon/openapi" {
export interface __IAttribute extends ISwaggerSchemaCommonPlugin {}
}
}

export namespace IChatGptSchema {
export interface IInteger extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface INumber extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface IString
extends ISwaggerSchemaPaymentPlugin.IString,
ISwaggerSchemaSecurityPlugin {}
export interface __IAttribute extends ISwaggerSchemaCommonPlugin {}
}

export namespace IClaudeSchema {
export interface IInteger extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface INumber extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface IString
extends ISwaggerSchemaPaymentPlugin.IString,
ISwaggerSchemaSecurityPlugin {}
export interface __IAttribute extends ISwaggerSchemaCommonPlugin {}
}

export namespace IGeminiSchema {
export interface IInteger extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface INumber extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface IString
extends ISwaggerSchemaPaymentPlugin.IString,
ISwaggerSchemaSecurityPlugin {}
export interface __IAttribute extends ISwaggerSchemaCommonPlugin {}
}

export namespace ILlamaSchema {
export interface IInteger extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface INumber extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface IString
extends ISwaggerSchemaPaymentPlugin.IString,
ISwaggerSchemaSecurityPlugin {}
export interface __IAttribute extends ISwaggerSchemaCommonPlugin {}
}

export namespace ILlmSchemaV3 {
export interface IInteger extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface INumber extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface IString
extends ISwaggerSchemaPaymentPlugin.IString,
ISwaggerSchemaSecurityPlugin {}
export interface __IAttribute extends ISwaggerSchemaCommonPlugin {}
}

export namespace ILlmSchemaV3_1 {
export interface IInteger extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface INumber extends ISwaggerSchemaPaymentPlugin.INumeric {}
export interface IString
extends ISwaggerSchemaPaymentPlugin.IString,
ISwaggerSchemaSecurityPlugin {}
export interface __IAttribute extends ISwaggerSchemaCommonPlugin {}
}
}

0 comments on commit edcaa3b

Please sign in to comment.