Commit afe9e85
authored
docs: add use cases tutorials for AI workflows (#392)
Add new tutorial section covering common AI patterns:
- Automatic embeddings with database triggers
- Structured output using Zod schemas
- RAG pipeline with query transformation and reranking
- Chatbot with parallel history and knowledge retrieval
All tutorials demonstrate proper pgflow DSL patterns with
factual, working examples using AI SDK and standard libraries.1 parent 03a3b6a commit afe9e85
File tree
9 files changed
+1994
-526
lines changed- pkgs/website
- src/content/docs/tutorials
- rag
- use-cases
9 files changed
+1994
-526
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
33 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
37 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
38 | 48 | | |
39 | 49 | | |
40 | 50 | | |
| |||
381 | 391 | | |
382 | 392 | | |
383 | 393 | | |
384 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
385 | 398 | | |
386 | 399 | | |
387 | 400 | | |
| |||
434 | 447 | | |
435 | 448 | | |
436 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
437 | 456 | | |
438 | 457 | | |
439 | 458 | | |
| |||
452 | 471 | | |
453 | 472 | | |
454 | 473 | | |
455 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
456 | 478 | | |
457 | 479 | | |
458 | 480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
0 commit comments