RBS inline code sample from Anycable example
I was reading this article Hey, AnyCable speaking! Needing help with a Twilio-OpenAI connection? by Vladimir Dementyev over last weekend and noticed an example of RBS inline usage:
That made me curious about how the tool configuration is created to be used by the other pieces of sofware.
Thus I browsed the source code and found inside https://github.com/anycable/twilio-ai-demo/blob/demo/rbs-tools an exciting combination of parsing RBS Inline with Prism to read method definitions and generate functions for LLM:
Source: module RBSTools::MethodDecl - I like what Vladimir did here and the idea to parse the method signature to create LLM functions.Â