AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Write a Model Client
We've taken a model client from three lines of code and a complicated construct to one line, right? Go us. Because hopefully many more people are ging to use our code than theyre gong to write in the first placee. That's development. Did you hear me use the word test ing there at all? No, cause i'm wright ing a model client. I'm not right in a test. Now, it turns out that if i use this model client to then run a query on top of an existing querying function, we get better results. And what if we just had on query as the entireapi? Sos, a bit more work for us