Key Components of Pattern 2: Manual Update with Testing
-
Pin to Specific Version: The system is initially configured to use a specific model version, such as "claude-3-5-sonnet-20240620". This ensures that the production environment remains stable and predictable.
-
Version Tracking: Maintains records of when the current version was deployed (
self.version_deployed) and the last tested version (self.last_tested_version). -
Generate Output Function: Uses the pinned model to generate responses, ensuring no automatic updates occur unless explicitly changed by the developer.
-
Test New Version Function: Allows for testing new versions in a controlled environment before deploying them to production. This function takes a list of prompts and expected outputs, compares the model's response with the expected output, and returns any discrepancies or issues.
Challenges and Drawbacks
- Delayed Security Patches:
Read the full article at Towards AI - Medium
Want to create content about this topic? Use Nemati AI tools to generate articles, social posts, and more.

![[AINews] The Unreasonable Effectiveness of Closing the Loop](/_next/image?url=https%3A%2F%2Fmedia.nemati.ai%2Fmedia%2Fblog%2Fimages%2Farticles%2F600e22851bc7453b.webp&w=3840&q=75)



