Create AI Agents in Ruby: Implementing the ReAct Approach
github.com
github.com
White paper for reference: https://arxiv.org/abs/2210.03629
Notice how the prompt used in Langchain (python) https://github.com/langchain-ai/langchain/blob/d21a494a27639...
Is the same as it is in Langchain.rb (ruby) https://github.com/andreibondarev/langchainrb/blob/6fc2b962c...
Maybe, but a wrapper around a remote API that contains all the AI part of the app isn’t what most people mean when talking about Python as having particular strength for AI apps, so this conpletely fails as a rebuttal, even if this is a full and complete Ruby replacement for langchain.
> English is the new programming language.
Then why is this written in Ruby?
Langchain and Langchain.rb are both using this prompt to get the LLM to do what they want. You can build an app in anything and that is great news!
Now, if it was as easy to implement something like stable-diffusion-web-ui in Ruby as Python...