Create AI Agents in Ruby: Implementing the ReAct Approach
1–5 of 5 posts
Re: Create AI Agents in Ruby: Implementing the ReAct Approach
#2White 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...
Re: Create AI Agents in Ruby: Implementing the ReAct Approach
#3I've been frustrated by the fact that people still believe that python is some sort of magical default to build LLM apps. It's not. English is the new programming language. 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/andreibonda…
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?
Re: Create AI Agents in Ruby: Implementing the ReAct Approach
#4I've been frustrated by the fact that people still believe that python is some sort of magical default to build LLM apps. It's not. English is the new programming language. 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/andreibonda…
> I've been frustrated by the fact that people still believe that python is some sort of magical default to build LLM apps. It's not. 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.…
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!
Re: Create AI Agents in Ruby: Implementing the ReAct Approach
#5Earlier quoted context omitted.
> I've been frustrated by the fact that people still believe that python is some sort of magical default to build LLM apps. It's not. 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.…
It's written in english. The prompt that is. 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...