|
2 | 2 | import Layout from '../layouts/Layout.astro'; |
3 | 3 |
|
4 | 4 | const examples = [ |
| 5 | + // LLM & AI |
| 6 | + { |
| 7 | + title: 'openai_gpt-example.py', |
| 8 | + description: 'Chat completions, streaming, function calling, JSON mode with GPT-4', |
| 9 | + category: 'LLM & AI', |
| 10 | + tags: ['openai', 'gpt', 'llm', 'chat', 'streaming', 'ai'], |
| 11 | + difficulty: 'intermediate' |
| 12 | + }, |
| 13 | + { |
| 14 | + title: 'anthropic_claude-example.py', |
| 15 | + description: 'Claude 3.5 integration with vision, streaming, and extended thinking', |
| 16 | + category: 'LLM & AI', |
| 17 | + tags: ['anthropic', 'claude', 'llm', 'vision', 'ai'], |
| 18 | + difficulty: 'intermediate' |
| 19 | + }, |
| 20 | + { |
| 21 | + title: 'langchain-example.py', |
| 22 | + description: 'LangChain framework: chains, memory, RAG, and prompt templates', |
| 23 | + category: 'LLM & AI', |
| 24 | + tags: ['langchain', 'llm', 'rag', 'agents', 'chains', 'ai'], |
| 25 | + difficulty: 'advanced' |
| 26 | + }, |
| 27 | + { |
| 28 | + title: 'instructor-example.py', |
| 29 | + description: 'Type-safe structured outputs from LLMs using Pydantic', |
| 30 | + category: 'LLM & AI', |
| 31 | + tags: ['instructor', 'llm', 'pydantic', 'structured', 'validation', 'ai'], |
| 32 | + difficulty: 'intermediate' |
| 33 | + }, |
5 | 34 | // Network & APIs |
6 | 35 | { |
7 | 36 | title: 'grpcio-example.py', |
@@ -113,10 +142,10 @@ const totalExamples = examples.length; |
113 | 142 | <div class="abstract"> |
114 | 143 | <div class="abstract-title">Abstract</div> |
115 | 144 | <p> |
116 | | - A curated collection of practical Python code examples covering web APIs, data processing, |
117 | | - security tools, web scraping, and file manipulation. Each example is production-ready with |
118 | | - proper error handling, security considerations, and clear documentation. Built by a developer |
119 | | - who automates everything and believes good examples are better than lengthy tutorials. |
| 145 | + A curated collection of practical Python code examples covering modern LLM integrations, |
| 146 | + web APIs, data processing, security tools, web scraping, and file manipulation. Each example |
| 147 | + is production-ready with proper error handling, security considerations, and clear documentation. |
| 148 | + Built by a developer who automates everything and believes good examples are better than lengthy tutorials. |
120 | 149 | </p> |
121 | 150 | </div> |
122 | 151 |
|
|
0 commit comments