Skip to content

Commit 136719c

Browse files
authored
feat(website): intro page's llm module introduction. (#1792)
1 parent 215908f commit 136719c

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

website/src/content/docs/llm/http.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ registerMcpControllers({
217217

218218
## Validation Feedback
219219

220-
When used through [MCP](./mcp), [Vercel AI SDK](./vercel), or [Agentica](./chat), `HttpLlm.controller()` embeds [`typia.validate<T>()`](/docs/validators/validate) in every tool for automatic argument validation. When validation fails, the error is returned as text content with inline `// ❌` comments at each invalid property:
220+
When used through [MCP](../mcp), [Vercel AI SDK](../vercel), or [Agentica](../chat), `HttpLlm.controller()` embeds [`typia.validate<T>()`](/docs/validators/validate) in every tool for automatic argument validation. When validation fails, the error is returned as text content with inline `// ❌` comments at each invalid property:
221221

222222
```json
223223
{
@@ -325,6 +325,6 @@ LLMs frequently return wrong types — numbers as strings, booleans as strings,
325325

326326
Some LLM SDKs (Anthropic, Vercel AI, LangChain, MCP) parse JSON internally and return JavaScript objects directly. In these cases, use `IHttpLlmFunction.coerce()` instead of `IHttpLlmFunction.parse()` to fix types without re-parsing.
327327

328-
For more details, see [JSON Utilities](./json).
328+
For more details, see [JSON Utilities](../json).
329329
</Callout>
330330

website/src/movies/HomeStrengthMovie.tsx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,28 +67,25 @@ const sections: HomeStrengthSectionMovie.Props[] = [
6767
<HomeCodeBlock
6868
namespace="llm"
6969
method="application"
70-
template="App"
70+
template="Class"
7171
color="rgb(191, 64, 191)"
7272
argument={false}
7373
/>
7474
),
7575
description: (
7676
<React.Fragment>
77-
<p>LLM Function Calling Schema Composer</p>
77+
<p>Function calling schemas from TS types.</p>
7878
<br />
7979
<p>
80-
Creates LLM function call schemas from a native TypeScript class or
81-
interface type.
80+
Validation feedback and type coercion boost success rate from{" "}
81+
<b>6.75%</b> to <b>100%</b>.
8282
</p>
8383
<br />
84-
<p>
85-
LLM will select proper function to call and fill arguments in the
86-
conversations with human.
87-
</p>
84+
<p>Lenient JSON parsing recovers from every malformed LLM output.</p>
8885
</React.Fragment>
8986
),
9087
image: "/images/home/openai.svg",
91-
href: "/docs/llm/chat",
88+
href: "/docs/llm/application",
9289
},
9390
{
9491
title: "Easy Protocol Buffer",

0 commit comments

Comments
 (0)