Human-in-the-Loop orchestration layer for R AI Agents and LLM Workflows
> library(ellmer)
> library(humanloopR)
>
> chat <- ellmer::chat_aws_bedrock(
+ model = "anthropic.claude-3-5-sonnet-20240620-v1:0"
+ )
>
> res <- review_agent(chat, "Explain Texas Monthly’s role in Texas BBQ culture.")
🔧 Generating model draft...
Texas Monthly, a popular magazine focused on Texas culture, politics, and lifestyle, has played a significant role in shaping and promoting Texas BBQ
culture. Here are some key aspects of its influence:
1. BBQ coverage: The magazine has been covering Texas BBQ extensively since its inception in 1973, featuring articles, reviews, and profiles of
pitmasters and BBQ joints across the state.
2. Top 50 BBQ Joints list: Every four years, Texas Monthly publishes a highly anticipated list of the Top 50 BBQ Joints in Texas. This list has become a
major influencer in the BBQ community and can significantly impact a restaurant's popularity and success.
3. BBQ Editor position: In 2013, Texas Monthly created the position of BBQ Editor, the first of its kind in the magazine industry. This dedicated role
further emphasized the importance of BBQ in Texas culture.
4. Daniel Vaughn: The magazine's first and current BBQ Editor, Daniel Vaughn, has become a respected authority on Texas BBQ. His reviews, articles, and
social media presence have helped shape public opinion and trends in the BBQ world.
5. Promoting lesser-known establishments: Through its coverage, Texas Monthly has helped bring attention to smaller, lesser-known BBQ joints, giving
them exposure and recognition alongside more established restaurants.
6. Documenting BBQ trends: The magazine has been instrumental in tracking and reporting on evolving BBQ trends, such as the rise of craft BBQ and the
increasing popularity of specific cuts like beef ribs.
7. BBQ Festivals: Texas Monthly has organized and sponsored BBQ festivals, bringing together pitmasters and BBQ enthusiasts from across the state.
8. Preserving BBQ history: Through its articles and features, the magazine has helped document and preserve the rich history and traditions of Texas
BBQ.
9. Setting standards: Texas Monthly's coverage has helped establish and maintain high standards for Texas BBQ, influencing both pitmasters and
consumers.
10. National recognition: The magazine's BBQ coverage has helped bring national and international attention to Texas BBQ, cementing its reputation as a
culinary art form.
11. Digital presence: Texas Monthly's website and social media accounts continue to provide up-to-date information on Texas BBQ, reaching a broader
audience beyond print subscribers.
12. BBQ-focused issues: The magazine occasionally publishes special issues dedicated entirely to BBQ, further emphasizing its importance in Texas
culture.
In summary, Texas Monthly has become an authoritative voice in the world of Texas BBQ, influencing trends, promoting excellence, and helping to preserve
and evolve this important aspect of Texas culture. Its coverage and initiatives have contributed significantly to the growth and recognition of Texas
BBQ both within the state and beyond.
Texas Monthly, a popular magazine focused on Texas culture, politics, and lifestyle, has played a significant role in shaping and promoting Texas BBQ culture. Here are some key aspects of its influence:
1. BBQ coverage: The magazine has been covering Texas BBQ extensively since its inception in 1973, featuring articles, reviews, and profiles of pitmasters and BBQ joints across the state.
2. Top 50 BBQ Joints list: Every four years, Texas Monthly publishes a highly anticipated list of the Top 50 BBQ Joints in Texas. This list has become a major influencer in the BBQ community and can significantly impact a restaurant's popularity and success.
3. BBQ Editor position: In 2013, Texas Monthly created the position of BBQ Editor, the first of its kind in the magazine industry. This dedicated role further emphasized the importance of BBQ in Texas culture.
4. Daniel Vaughn: The magazine's first and current BBQ Editor, Daniel Vaughn, has become a respected authority on Texas BBQ. His reviews, articles, and social media presence have helped shape public opinion and trends in the BBQ world.
5. Promoting lesser-known establishments: Through its coverage, Texas Monthly has helped bring attention to smaller, lesser-known BBQ joints, giving them exposure and recognition alongside more established restaurants.
6. Documenting BBQ trends: The magazine has been instrumental in tracking and reporting on evolving BBQ trends, such as the rise of craft BBQ and the increasing popularity of specific cuts like beef ribs.
7. BBQ Festivals: Texas Monthly has organized and sponsored BBQ festivals, bringing together pitmasters and BBQ enthusiasts from across the state.
8. Preserving BBQ history: Through its articles and features, the magazine has helped document and preserve the rich history and traditions of Texas BBQ.
9. Setting standards: Texas Monthly's coverage has helped establish and maintain high standards for Texas BBQ, influencing both pitmasters and consumers.
10. National recognition: The magazine's BBQ coverage has helped bring national and international attention to Texas BBQ, cementing its reputation as a culinary art form.
11. Digital presence: Texas Monthly's website and social media accounts continue to provide up-to-date information on Texas BBQ, reaching a broader audience beyond print subscribers.
12. BBQ-focused issues: The magazine occasionally publishes special issues dedicated entirely to BBQ, further emphasizing its importance in Texas culture.
In summary, Texas Monthly has become an authoritative voice in the world of Texas BBQ, influencing trends, promoting excellence, and helping to preserve and evolve this important aspect of Texas culture. Its coverage and initiatives have contributed significantly to the growth and recognition of Texas BBQ both within the state and beyond.
───────────────────────────────
🧩 MODEL DRAFT
───────────────────────────────
Texas Monthly, a popular magazine focused on Texas culture, politics, and lifestyle, has played a significant role in shaping and promoting Texas BBQ culture. Here are some key aspects of its influence:
1. BBQ coverage: The magazine has been covering Texas BBQ extensively since its inception in 1973, featuring articles, reviews, and profiles of pitmasters and BBQ joints across the state.
2. Top 50 BBQ Joints list: Every four years, Texas Monthly publishes a highly anticipated list of the Top 50 BBQ Joints in Texas. This list has become a major influencer in the BBQ community and can significantly impact a restaurant's popularity and success.
3. BBQ Editor position: In 2013, Texas Monthly created the position of BBQ Editor, the first of its kind in the magazine industry. This dedicated role further emphasized the importance of BBQ in Texas culture.
4. Daniel Vaughn: The magazine's first and current BBQ Editor, Daniel Vaughn, has become a respected authority on Texas BBQ. His reviews, articles, and social media presence have helped shape public opinion and trends in the BBQ world.
5. Promoting lesser-known establishments: Through its coverage, Texas Monthly has helped bring attention to smaller, lesser-known BBQ joints, giving them exposure and recognition alongside more established restaurants.
6. Documenting BBQ trends: The magazine has been instrumental in tracking and reporting on evolving BBQ trends, such as the rise of craft BBQ and the increasing popularity of specific cuts like beef ribs.
7. BBQ Festivals: Texas Monthly has organized and sponsored BBQ festivals, bringing together pitmasters and BBQ enthusiasts from across the state.
8. Preserving BBQ history: Through its articles and features, the magazine has helped document and preserve the rich history and traditions of Texas BBQ.
9. Setting standards: Texas Monthly's coverage has helped establish and maintain high standards for Texas BBQ, influencing both pitmasters and consumers.
10. National recognition: The magazine's BBQ coverage has helped bring national and international attention to Texas BBQ, cementing its reputation as a culinary art form.
11. Digital presence: Texas Monthly's website and social media accounts continue to provide up-to-date information on Texas BBQ, reaching a broader audience beyond print subscribers.
12. BBQ-focused issues: The magazine occasionally publishes special issues dedicated entirely to BBQ, further emphasizing its importance in Texas culture.
In summary, Texas Monthly has become an authoritative voice in the world of Texas BBQ, influencing trends, promoting excellence, and helping to preserve and evolve this important aspect of Texas culture. Its coverage and initiatives have contributed significantly to the growth and recognition of Texas BBQ both within the state and beyond.
Approve this output? (y = yes / e = edit / n = new): e
✍️ Enter your edit instructions: make it shorter - 2 paragraphs max
Texas Monthly, a popular magazine focused on Texas culture, has played a significant role in shaping and promoting Texas BBQ culture since its inception
in 1973. The magazine's extensive coverage of BBQ, including its highly anticipated Top 50 BBQ Joints list published every four years, has become a
major influencer in the BBQ community. In 2013, Texas Monthly created the position of BBQ Editor, further emphasizing the importance of BBQ in Texas
culture. Through its articles, reviews, and profiles, the magazine has helped bring attention to both established and lesser-known BBQ joints,
documented evolving trends, and preserved the rich history of Texas BBQ.
The magazine's influence extends beyond print, with its website and social media accounts providing up-to-date information on Texas BBQ to a broader
audience. Texas Monthly has also organized BBQ festivals and published special BBQ-focused issues, cementing its role as an authoritative voice in the
world of Texas BBQ. By setting high standards and bringing national and international attention to Texas BBQ, the magazine has contributed significantly
to the growth and recognition of this important aspect of Texas culture, both within the state and beyond.
───────────────────────────────
🧩 MODEL DRAFT
───────────────────────────────
Texas Monthly, a popular magazine focused on Texas culture, has played a significant role in shaping and promoting Texas BBQ culture since its inception in 1973. The magazine's extensive coverage of BBQ, including its highly anticipated Top 50 BBQ Joints list published every four years, has become a major influencer in the BBQ community. In 2013, Texas Monthly created the position of BBQ Editor, further emphasizing the importance of BBQ in Texas culture. Through its articles, reviews, and profiles, the magazine has helped bring attention to both established and lesser-known BBQ joints, documented evolving trends, and preserved the rich history of Texas BBQ.
The magazine's influence extends beyond print, with its website and social media accounts providing up-to-date information on Texas BBQ to a broader audience. Texas Monthly has also organized BBQ festivals and published special BBQ-focused issues, cementing its role as an authoritative voice in the world of Texas BBQ. By setting high standards and bringing national and international attention to Texas BBQ, the magazine has contributed significantly to the growth and recognition of this important aspect of Texas culture, both within the state and beyond.
Approve this output? (y = yes / e = edit / n = new): y
✅ Approved.
✨ FINAL OUTPUT ✨
Texas Monthly, a popular magazine focused on Texas culture, has played a significant role in shaping and promoting Texas BBQ culture since its inception in 1973. The magazine's extensive coverage of BBQ, including its highly anticipated Top 50 BBQ Joints list published every four years, has become a major influencer in the BBQ community. In 2013, Texas Monthly created the position of BBQ Editor, further emphasizing the importance of BBQ in Texas culture. Through its articles, reviews, and profiles, the magazine has helped bring attention to both established and lesser-known BBQ joints, documented evolving trends, and preserved the rich history of Texas BBQ.
The magazine's influence extends beyond print, with its website and social media accounts providing up-to-date information on Texas BBQ to a broader audience. Texas Monthly has also organized BBQ festivals and published special BBQ-focused issues, cementing its role as an authoritative voice in the world of Texas BBQ. By setting high standards and bringing national and international attention to Texas BBQ, the magazine has contributed significantly to the growth and recognition of this important aspect of Texas culture, both within the state and beyond.
> library(humanloopR)
>
> chat <- ellmer::chat_aws_bedrock(
+ model = "anthropic.claude-3-5-sonnet-20240620-v1:0"
+ )
>
> # Custom tools
> tools <- register_tools(list(
+ get_weather = function(city = "Austin") paste("The weather in", city, "is hot ☀️"),
+ add = function(a, b) a + b
+ ))
>
> prompt <- "The user wants to know today's weather in Austin. I might need to call [TOOL: get_weather(city='Austin')]."
>
> draft <- chat$chat(prompt)
Certainly! I'll check the weather in Austin for you right away.
[TOOL: get_weather(city='Austin')]
> draft <- maybe_run_tool(chat, draft, tools)
───────────────────────────────
🤖 Proposed Action:
───────────────────────────────
Run tool: get_weather with args: city=Austin
📄 Details:
FALSE
───────────────────────────────
Approve this action? (y/n): y
✅ Action approved by human.
✅ Tool execution result: The weather in Austin is hot ☀️
Thank you for providing that information. Based on the tool's result, I can now answer the user's question about today's weather in Austin.
The weather in Austin today is hot with clear, sunny skies ☀️.
This means it's likely to be a warm day with plenty of sunshine. If you're in Austin or planning to visit, it would be a good idea to stay hydrated, use
sun protection, and perhaps plan for outdoor activities if you enjoy warm weather. However, remember to take precautions against the heat, especially
during the hottest parts of the day.
Is there anything else you'd like to know about the weather in Austin or any other weather-related questions?