LLM-mock – Record real LLM API responses once, replay them in tests foreverllm-mock은 실제 LLM API 호출을 한 번 기록하고, 이후 테스트에서 해당 응답을 재생하여 API 호출 비용과 비결정성 문제를 해결하는 Python 라이브러리입니다. Anthropic과 OpenAI API를 지원하며, pytest와 자연스럽게 통합되어 테스트 자동화에 용이합니다. 애플리케이션 코드를 변경하지 않고 HTTP 레이어에서 인터셉트하여 동작하며, JSON 형식의 휴먼 리더블한 픽스처를 저장해 관리합니다. 이는 LLM 기반 서비스 개발 시 테스트 비용 절감과 안정성 확보에 즉시 활용할 수 있는 도구입니다.https://pypi.org/project/llm-mock/#llm #testing #python #apimocking #pytest
Related
Securing Enterprise AI Agents: A Field Guide to Bounded AI Autonomy, AgentSecOps, and MCP Security by Thomas De Vos is t...
Securing Enterprise AI Agents: A Field Guide to Bounded AI Autonomy, AgentSecOps, and MCP Security by Thomas De Vos is the featured book 📖 on Leanpub!How to put AI agents in produc...
📰 New airliner sets record flying 24 hrs nonstop from Australia to FranceRecord flight shows viability of Qantas Airways...
📰 New airliner sets record flying 24 hrs nonstop from Australia to FranceRecord flight shows viability of Qantas Airways’ Project Sunrise routes in 2027.📰 Source: Ars Technica🔗 Lin...
📰 Apple won’t turn on any ‘restricted mode’ for missed lease paymentsApple says it won't limit the capabilities of devic...
📰 Apple won’t turn on any ‘restricted mode’ for missed lease paymentsApple says it won't limit the capabilities of devices leased through its new Upgrade program if you miss a paym...