Stub responses to test code that interacts with RubyLLM
If you are using RubyLLM, but struggling to test code that interacts with an LLM, check out the new gem RubyLLM::Test. It makes it easy to stub responses as well as validate request parameters.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
If you are using RubyLLM, but struggling to test code that interacts with an LLM, check out the new gem RubyLLM::Test. It makes it easy to stub responses as well as validate request parameters.
Post a comment