Skip to content

Commit 72c562e

Browse files
authored
Merge pull request #58 from samchon/feat/llm
Wiriting Gemini schema and its type checker
2 parents fc718d3 + 049b522 commit 72c562e

File tree

5 files changed

+755
-19
lines changed

5 files changed

+755
-19
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ OpenAPI definitions, converters and LLM function calling application composer.
2929
`@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.
3030

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

3739
> [!TIP]
3840
>

src/index.ts

+28-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
1-
// STRUCTURES
1+
//----
2+
// OPENAPI
3+
//----
4+
export * from "./OpenApi";
5+
export * from "./SwaggerV2";
6+
export * from "./OpenApiV3";
7+
export * from "./OpenApiV3_1";
8+
9+
export * from "./utils/OpenApiTypeChecker";
10+
11+
//----
12+
// MIGRATION
13+
//----
14+
export * from "./structures/IHttpMigrateApplication";
15+
export * from "./structures/IHttpMigrateRoute";
16+
217
export * from "./structures/IHttpConnection";
18+
export * from "./structures/IHttpResponse";
19+
export * from "./http/HttpError";
20+
21+
export * from "./HttpMigration";
22+
23+
//----
24+
// LLM
25+
//----
326
export * from "./structures/IHttpLlmApplication";
427
export * from "./structures/IHttpLlmFunction";
5-
export * from "./structures/IHttpMigrateRoute";
6-
export * from "./structures/IHttpMigrateApplication";
7-
export * from "./structures/IHttpResponse";
828
export * from "./structures/ILlmApplication";
9-
export * from "./structures/ILlmSchema";
1029

11-
// UTILS
12-
export * from "./http/HttpError";
13-
export * from "./utils/OpenApiTypeChecker";
14-
export * from "./utils/LlmTypeChecker";
30+
export * from "./structures/ILlmSchema";
31+
export * from "./structures/IGeminiSchema";
1532

16-
// OPENAPI MODULES
17-
export * from "./OpenApi";
18-
export * from "./SwaggerV2";
19-
export * from "./OpenApiV3";
20-
export * from "./OpenApiV3_1";
2133
export * from "./HttpLlm";
22-
export * from "./HttpMigration";
34+
export * from "./utils/LlmTypeChecker";
35+
export * from "./utils/GeminiTypeChecker";

0 commit comments

Comments
 (0)