Skip to content

Commit e34bdf5

Browse files
authored
Merge pull request #83 from samchon/feat/llm-3.1
Export `ILlmSchema`
2 parents 58f4f54 + 7dc0d47 commit e34bdf5

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ OpenAPI definitions, converters and LLM function calling application composer.
4343
- [`IHttpLlmFunction<Schema>`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmFunction.ts)
4444
- Supported schemas
4545
- ✔️[`IChatGptSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IChatGptSchema.ts): OpenAI ChatGPT
46+
- ✍️`IClaudeSchema`: Anthropic Claude
4647
- ✔️[`IGeminiSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IGeminiSchema.ts): Google Gemini
4748
- ✍️`ILlamaSchema`: Meta (Facebook) Llama
48-
- ✍️`IClaudeSchema`: Anthropic Claude
49-
- ✔️[`ILlmSchemaV3`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchemaV3.ts): middle layer of OpenAPI v3.0
50-
- ✔️[`ILlmSchemaV3_1`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchemaV3_1.ts): middle layer of OpenAPI v3.1
49+
- Midldle layer schemas
50+
- ✔️[`ILlmSchemaV3`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchemaV3.ts): middle layer based on OpenAPI v3.0 specification
51+
- ✔️[`ILlmSchemaV3_1`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchemaV3_1.ts): middle layer based on OpenAPI v3.1 specification
5152

5253
> [!TIP]
5354
>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@samchon/openapi",
3-
"version": "2.0.0-dev.20241123-5",
3+
"version": "2.0.0-dev.20241124",
44
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.",
55
"main": "./lib/index.js",
66
"module": "./lib/index.mjs",

src/converters/LlmSchemaConverter.ts

-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const PARAMETERS_CASTERS = {
4242
"3.1": (props: {
4343
components: OpenApi.IComponents;
4444
schema: OpenApi.IJsonSchema.IObject;
45-
$defs: Record<string, ILlmSchemaV3_1>;
4645
config: ILlmSchemaV3_1.IConfig;
4746
}) =>
4847
LlmConverterV3_1.parameters({
@@ -53,7 +52,6 @@ const PARAMETERS_CASTERS = {
5352
chatgpt: (props: {
5453
components: OpenApi.IComponents;
5554
schema: OpenApi.IJsonSchema.IObject;
56-
$defs: Record<string, IChatGptSchema>;
5755
config: IChatGptSchema.IConfig;
5856
}) =>
5957
ChatGptConverter.parameters({

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export * from "./structures/ILlmFunction";
3030

3131
export * from "./structures/IChatGptSchema";
3232
export * from "./structures/IGeminiSchema";
33+
export * from "./structures/ILlmSchema";
3334
export * from "./structures/ILlmSchemaV3";
3435
export * from "./structures/ILlmSchemaV3_1";
3536

0 commit comments

Comments
 (0)