File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 {
1717 "label" : " Quick Start" ,
1818 "to" : " getting-started/quick-start"
19+ },
20+ {
21+ "label" : " Devtools" ,
22+ "to" : " getting-started/devtools"
1923 }
2024 ]
2125 },
Original file line number Diff line number Diff line change @@ -7,28 +7,14 @@ Get started with TanStack AI in minutes. This guide will walk you through creati
77
88## Installation
99
10- <!-- ::tabs:start id="install" -->
11-
12- # npm
13-
1410``` bash
1511npm install @tanstack/ai @tanstack/ai-react @tanstack/ai-openai
16- ```
17-
18- # pnpm
19-
20- ``` bash
12+ # or
2113pnpm add @tanstack/ai @tanstack/ai-react @tanstack/ai-openai
22- ```
23-
24- # Yarn
25-
26- ``` bash
14+ # or
2715yarn add @tanstack/ai @tanstack/ai-react @tanstack/ai-openai
2816```
2917
30- <!-- ::tabs:end -->
31-
3218## Server Setup
3319
3420First, create an API route that handles chat requests. Here's a simplified example:
@@ -203,6 +189,6 @@ chat({ tools: [getProducts] })
203189
204190## Next Steps
205191
206- - Learn about [ Tools] ( ../guides/tools ) to add function calling
207- - Check out [ Client Tools] ( ../guides/client-tools ) for frontend operations
208- - See the [ API Reference] ( ../api/ai ) for more options
192+ - Learn about [ Tools] ( ../../ guides/tools ) to add function calling
193+ - Check out [ Client Tools] ( ../../ guides/client-tools ) for frontend operations
194+ - See the [ API Reference] ( ../../ api/ai ) for more options
You can’t perform that action at this time.
0 commit comments