Remix.run Logo
Building your first LLM API call in Python (step by step)(heymeraki.substack.com)
8 points by heyy-meraki 15 hours ago | 3 comments
dpoloncsak 12 hours ago | parent | next [-]

It's well detailed and easy to follow.

If you're targeting beginners, do you think it's valuable to explain the .env concept a bit, and generally what an API call is? Or do you think your average reader is familiar enough with Python that they would have come across these concepts already, and are just looking to prompt LLMs?

heyy-meraki 10 hours ago | parent [-]

[dead]

heyy-meraki 15 hours ago | parent | prev [-]

Today we are looking at the build that goes with yesterday's introduction to ai engineering.

If you read aie_1.0 and wanted to see what an LLM API call looks like in code, this is it.

I go step by step, block by block so it is easy to follow along.