Jeongho Nam
Jeongho Nam
```typescript import typia, { tags } from "typia"; typia.createIs(); ``` https://typia.io/playground/?script=JYWwDg9gTgLgBDAnmYBDANHA3g1BzAZzgF84AzKCEOAIiRVRoG4AoF+tAOgGMoBTVDD4BJAgB4sLOOQgQAXHADaAXVbSARqigKAdnwBufKK2IA+ABQBKJkA At first, the `never` typed property is considered as only `undefined` type in the TypeScript type system. Also, checking...
> Simpler version, that remove the `Explode` and `async` from the possible source of errors. It's now just a simple mapped type that extracts the Parameters for each function in...
How about using `unplugin-typia` of @ryoppippi https://typia.io/docs/setup/#unplugin-typia
Yes `unplugin-typia` also needs `ts-patch` patching.
`T | null` type cannot be `oneOf` type, because it is the specification of JSON schema (of OpenAPI v3.0) that OpenAI has adopted. Writing `T | null` type as `oneOf`...
Also, about the `additionalProperties` to be `false`, it should be a little bit careful. The `additionalProperties := false` means that it does not allow any type of superfluous properties. In...
How about the other models? In the Google Gemini case, it is using the OpenAPI v3.0.3 specified JSON schema, but not supporting `oneOf`. - https://ai.google.dev/gemini-api/docs/function-calling - https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/function-calling#function-declarations OpenAI, it sometimes...
To support LLM function calling feature exactly, I should separate the providers like below. - Top level namespaces - `typia.openai.application(): ILlmApplication` - `typia.gemini.application(): ILlmApplication` - `typia.llama.application(): ILlmApplication` - Nested namespaces...
@antoniomdk If you send an PR about `additionalProperties`, I'll accept it. Also, about the manipulating specific LLM provider's schema, I'll prepare the major update. It would be `@samchon/[email protected]` and `[email protected]`.
@antoniomdk, @bradleat https://github.com/samchon/openapi/blob/v2.0/src/structures/IChatGptSchema.ts I'm preparing the OpenAI dedicated schema type as `IChatGptSchema` in the next version of `@samchon/openapi` and `typia`. Here is the type, and I'll test it by using...