Skip to content

Commit

Permalink
Wiriting Gemini schema and its type checker
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Oct 29, 2024
1 parent 870c135 commit 049b522
Show file tree
Hide file tree
Showing 5 changed files with 755 additions and 19 deletions.
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

0 comments on commit 049b522

Please sign in to comment.