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

Wiriting Gemini schema and its type checker #58

Merged
merged 1 commit into from
Nov 6, 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
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ OpenAPI definitions, converters and LLM function calling application composer.
`@samchon/openapi` also provides LLM (Large Language Model) function calling application composer from the OpenAPI document with many strategies. With the [`HttpLlm`](https://github.com/samchon/openapi/blob/master/src/HttpLlm.ts) module, you can perform the LLM funtion calling extremely easily just by delivering the OpenAPI (Swagger) document.

- [`HttpLlm.application()`](https://github.com/samchon/openapi/blob/master/src/HttpLlm.ts)
- [`IHttpLlmApplication`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmApplication.ts)
- [`IHttpLlmFunction`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmFunction.ts)
- [`ILlmSchema`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchema.ts)
- [`LlmTypeChecker`](https://github.com/samchon/openapi/blob/master/src/utils/LlmTypeChecker.ts)
- [`IHttpLlmApplication<Model, Schema>`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmApplication.ts)
- [`IHttpLlmFunction<Schema>`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmFunction.ts)
- Supported schemes
- [`ILlmSchema`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmSchema.ts)
- [`IGeminiSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IGeminiSchema.ts)
- [`IOpenAiSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IOpenAiSchema.ts)

> [!TIP]
>
Expand Down
43 changes: 28 additions & 15 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
// STRUCTURES
//----
// OPENAPI
//----
export * from "./OpenApi";
export * from "./SwaggerV2";
export * from "./OpenApiV3";
export * from "./OpenApiV3_1";

export * from "./utils/OpenApiTypeChecker";

//----
// MIGRATION
//----
export * from "./structures/IHttpMigrateApplication";
export * from "./structures/IHttpMigrateRoute";

export * from "./structures/IHttpConnection";
export * from "./structures/IHttpResponse";
export * from "./http/HttpError";

export * from "./HttpMigration";

//----
// LLM
//----
export * from "./structures/IHttpLlmApplication";
export * from "./structures/IHttpLlmFunction";
export * from "./structures/IHttpMigrateRoute";
export * from "./structures/IHttpMigrateApplication";
export * from "./structures/IHttpResponse";
export * from "./structures/ILlmApplication";
export * from "./structures/ILlmSchema";

// UTILS
export * from "./http/HttpError";
export * from "./utils/OpenApiTypeChecker";
export * from "./utils/LlmTypeChecker";
export * from "./structures/ILlmSchema";
export * from "./structures/IGeminiSchema";

// OPENAPI MODULES
export * from "./OpenApi";
export * from "./SwaggerV2";
export * from "./OpenApiV3";
export * from "./OpenApiV3_1";
export * from "./HttpLlm";
export * from "./HttpMigration";
export * from "./utils/LlmTypeChecker";
export * from "./utils/GeminiTypeChecker";
Loading