TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Create AI Agents in Ruby: Implementing the ReAct Approach

5 pointsby thedayisntgrayover 1 year ago

1 comment

thedayisntgrayover 1 year ago
I&#x27;ve been frustrated by the fact that people still believe that python is some sort of magical default to build LLM apps. It&#x27;s not. English is the new programming language.<p>White paper for reference: <a href="https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;2210.03629" rel="nofollow noreferrer">https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;2210.03629</a><p>Notice how the prompt used in Langchain (python) <a href="https:&#x2F;&#x2F;github.com&#x2F;langchain-ai&#x2F;langchain&#x2F;blob&#x2F;d21a494a2763900b8ad7cef5e27c739bfec356f3&#x2F;libs&#x2F;langchain&#x2F;langchain&#x2F;agents&#x2F;mrkl&#x2F;prompt.py#L5-L13">https:&#x2F;&#x2F;github.com&#x2F;langchain-ai&#x2F;langchain&#x2F;blob&#x2F;d21a494a27639...</a><p>Is the same as it is in Langchain.rb (ruby) <a href="https:&#x2F;&#x2F;github.com&#x2F;andreibondarev&#x2F;langchainrb&#x2F;blob&#x2F;6fc2b962ce64f915fe3a060e8c7c9b750117bb1d&#x2F;lib&#x2F;langchain&#x2F;agent&#x2F;react_agent&#x2F;react_agent_prompt.yaml#L3-L26">https:&#x2F;&#x2F;github.com&#x2F;andreibondarev&#x2F;langchainrb&#x2F;blob&#x2F;6fc2b962c...</a>
评论 #37557196 未加载