4 ms·
1) your 30 lines could become 10 lines or something 2) you can write abstract code without explicit dependency on openai and easely switch to e.g. anthropic in
by emil14 3y ago
1) your 30 lines could become 10 lines or something
2) you can write abstract code without explicit dependency on openai and easely switch to e.g. anthropic in future without rewriting the whole thing (think of ORM for LLMs)
3) ready to use abstraction like Process that allows to chain operations (more complex stuff is much easier than writing by hand)