Hamilton, On 🇨🇦. Also 🇳🇱
@wesbos
syntax.fm × @syntaxfm × sentry
Places we can use AI to help us code
How you can use AI in your day-to-day
> Give me an array of people, each person has a first, last, and age
property.
Each person also has a nested array of 1-3
jobs, which have start date, optional end date, description and a
manager, who has the same properties as a person.
Generate
Types
Do the work
> convert to a class based re-usable library with all best practices. I want to be able to pass in either selector strings or elements
> I have this HTML.Write the selectors with nth-child so that each of the 10 items have random rotate values between -2 and 2. Use 2 decimal points and turns.
> Write tests for this regex
> Write the function that satisfies these tests
> Give Feedback on Errors
> ffmpeg command for merging three video files, overlaying captions and adding music from tunes.mp3
> Explain it to me
> Install these
> transcribe
(API)
Formatted as JSON please
1 Hour Podcast = ~15,000 Tokens
1 hour podcast = 15,000 token input, 1,000 token output.
As with everything, it's a tradeoff between quality, speed and price.
Model | Token Limit | Cost to summarize Podcast |
---|---|---|
GPT 3.5 turbo 4k | 4,096 | 2.4¢ |
GPT 3.5 turbo 16k | 16,384 | 5¢ |
GPT 4 | 8,192 | 66¢ |
GPT 4-32k turbo | 32,768 | $1.02 |
Anthropic Claude 2 | 100,000 | 20¢ |
Anthropic Claude Instant | 100,000 | 3¢ |
> Craft The Prompt
> craft the request
> We get: title, description and topics
> Detailed Summary
> Tweets?
> Speaker Times
> Websites Referenced
It doesnt.
0.6¢ ($0.006) Per 1 hour episode, $2.88 for the entire syntax back catalog of 620 eps
Cosine Similarity, Euclidean Distance
Out of a job soon?
Here is what I think
Our tools are changing.
Don't ignore it. Stay sharp.
@wesbos