Skip to content

Instantly share code, notes, and snippets.

View irgmedeiros's full-sized avatar

Igor Medeiros irgmedeiros

View GitHub Profile
@lukestanley
lukestanley / be_nice.py
Last active February 13, 2024 07:20
LangChain spicy comment detox loop using Anthropic
import json
import time
from langchain.chat_models import ChatAnthropic
from langchain.schema import HumanMessage
FAST = "claude-instant-1"
GOOD = "claude-1.3"
model = GOOD
@timbogit
timbogit / aprb_2014_soa_workshop.md
Created April 27, 2014 14:13
Script of the workshop part for the presentations

AbrilPro Ruby

SOA from the Start - Workshop Part


What will we show

We are building a set of applications that have will show deals (aka. 'inventory items') available in or near a given city. These items can also be organized by a 'category' (aka. tags), to cater to the various customers' areas of interest.

To bootstrap things, and to get us focussed on some key areas of developing in a SOA, we have gone ahead and built these apps out at varying stages. The workshops will focus on showing some of this code, and intersperse exercises to add features, or to refactor.