Skip to content

Commit

Permalink
Fix README typo
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Nov 26, 2024
1 parent 04a2560 commit 50ea930
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ 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<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)
- [`IHttpLlmApplication<Model>`](https://github.com/samchon/openapi/blob/master/src/structures/ILlmApplication.ts)
- [`IHttpLlmFunction<Model>`](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`](https://github.com/samchon/openapi/blob/master/src/structures/IClaudeSchema.ts): Anthropic Claude
Expand Down Expand Up @@ -95,7 +95,7 @@ const main = async (): Promise<void> => {
});

// Let's imagine that LLM has selected a function to call
const func: IHttpLlmFunction<IChatGptSchema.IParameters> | undefined =
const func: IHttpLlmFunction<"chatgpt"> | undefined =
application.functions.find(
// (f) => f.name === "llm_selected_fuction_name"
(f) => f.path === "/bbs/articles" && f.method === "post",
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.20241127",
"version": "2.0.0-dev.20241127-2",
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.",
"main": "./lib/index.js",
"module": "./lib/index.mjs",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export * from "./structures/ILlmFunction";
export * from "./structures/IChatGptSchema";
export * from "./structures/IClaudeSchema";
export * from "./structures/IGeminiSchema";
export * from "./structures/ILlamaSchema";
export * from "./structures/ILlmSchema";
export * from "./structures/ILlmSchemaV3";
export * from "./structures/ILlmSchemaV3_1";
Expand All @@ -39,5 +40,6 @@ export * from "./HttpLlm";
export * from "./utils/ChatGptTypeChecker";
export * from "./utils/ClaudeTypeChecker";
export * from "./utils/GeminiTypeChecker";
export * from "./utils/LlamaTypeChecker";
export * from "./utils/LlmTypeCheckerV3";
export * from "./utils/LlmTypeCheckerV3_1";

0 comments on commit 50ea930

Please sign in to comment.