Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export ILlmSchema #83

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ OpenAPI definitions, converters and LLM function calling application composer.
- [`IHttpLlmFunction<Schema>`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmFunction.ts)
- Supported schemas
- ✔️[`IChatGptSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IChatGptSchema.ts): OpenAI ChatGPT
- ✍️`IClaudeSchema`: Anthropic Claude
- ✔️[`IGeminiSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IGeminiSchema.ts): Google Gemini
- ✍️`ILlamaSchema`: Meta (Facebook) Llama
- ✍️`IClaudeSchema`: Anthropic Claude
- ✔️[`ILlmSchemaV3`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchemaV3.ts): middle layer of OpenAPI v3.0
- ✔️[`ILlmSchemaV3_1`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchemaV3_1.ts): middle layer of OpenAPI v3.1
- Midldle layer schemas
- ✔️[`ILlmSchemaV3`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchemaV3.ts): middle layer based on OpenAPI v3.0 specification
- ✔️[`ILlmSchemaV3_1`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchemaV3_1.ts): middle layer based on OpenAPI v3.1 specification

> [!TIP]
>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@samchon/openapi",
"version": "2.0.0-dev.20241123-5",
"version": "2.0.0-dev.20241124",
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.",
"main": "./lib/index.js",
"module": "./lib/index.mjs",
Expand Down
2 changes: 0 additions & 2 deletions src/converters/LlmSchemaConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ const PARAMETERS_CASTERS = {
"3.1": (props: {
components: OpenApi.IComponents;
schema: OpenApi.IJsonSchema.IObject;
$defs: Record<string, ILlmSchemaV3_1>;
config: ILlmSchemaV3_1.IConfig;
}) =>
LlmConverterV3_1.parameters({
Expand All @@ -53,7 +52,6 @@ const PARAMETERS_CASTERS = {
chatgpt: (props: {
components: OpenApi.IComponents;
schema: OpenApi.IJsonSchema.IObject;
$defs: Record<string, IChatGptSchema>;
config: IChatGptSchema.IConfig;
}) =>
ChatGptConverter.parameters({
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export * from "./structures/ILlmFunction";

export * from "./structures/IChatGptSchema";
export * from "./structures/IGeminiSchema";
export * from "./structures/ILlmSchema";
export * from "./structures/ILlmSchemaV3";
export * from "./structures/ILlmSchemaV3_1";

Expand Down