feat(llm-application-dev): modernize to LangGraph and latest models v2.0.0

- Migrate from LangChain 0.x to LangChain 1.x/LangGraph patterns
- Update model references to Claude 4.5 and GPT-5.2
- Add Voyage AI as primary embedding recommendation
- Add structured outputs with Pydantic
- Replace deprecated initialize_agent() with StateGraph
- Fix security: use AST-based safe math instead of unsafe execution
- Add plugin.json and README.md for consistency
- Bump marketplace version to 1.3.3
This commit is contained in:
Seth Hobson
2026-01-19 15:43:25 -05:00
parent e827cc713a
commit 8be0e8ac7a
12 changed files with 1940 additions and 708 deletions

View File

@@ -113,9 +113,9 @@ Final Response: [Refined]
### 5. Model-Specific Optimization
**GPT-5/GPT-4o**
**GPT-5.2**
```python
gpt4_optimized = """
gpt5_optimized = """
##CONTEXT##
{structured_context}
@@ -566,7 +566,7 @@ testing_recommendations:
metrics: ["accuracy", "satisfaction", "cost"]
deployment_strategy:
model: "GPT-5 for quality, Claude for safety"
model: "GPT-5.2 for quality, Claude 4.5 for safety"
temperature: 0.7
max_tokens: 2000
monitoring: "Track success, latency, feedback"