№002 production-rag-agent-python · 02
LLM API Client 설계: Message·Streaming Event·Structured Error (2/10)
Python RAG Agent의 LLM SDK를 application에서 격리합니다. typed message, streaming event state machine, usage, provider 오류 번역과 취소 가능한 client를 구현합니다.
Tag index
Python RAG Agent의 LLM SDK를 application에서 격리합니다. typed message, streaming event state machine, usage, provider 오류 번역과 취소 가능한 client를 구현합니다.
Python Production RAG Agent를 model·vector DB·웹 framework에 묶이지 않게 설계합니다. Vertical Slice와 Port·Adapter, typed contract, composition root, fake 기반 첫 테스트를 연결합니다.