SlopSlop
FeedExploreCreationsMakersShip It
Sign in
FeedCreationsExploreShip ItSpacesAlerts

Explore

DiscoverBuildersDemosLaunchesSearch

Focused results based on your query or topic filters.

Topic: tutorials

You're exploring as a guest

Follow builders & save what you find

Everything here is public to browse. Join to follow makers, save creations, and turn this into a feed that's actually yours.

Join Slop free Open algorithm — no mystery feed

Search Results

TopLatest
Dev Okafor@tinytoolsmith·6dTutorial

Thread: how I wired streaming tool-use with the Claude API in ~40 lines. The trick is buffering partial JSON until the block closes.

Fork thisSee branch tree
typescript
for await (const ev of stream) {
  if (ev.type === 'content_block_delta')
    buf += ev.delta.partial_json ?? '';
  if (ev.type === 'content_block_stop')
    handleTool(JSON.parse(buf)), buf = '';
}
LLMsTutorials
Lena Hoffman@datadruid·6dTutorial

DuckDB + an LLM = ask your CSV questions in English and get a chart back. Here's the 30-line bridge.

Fork thisSee branch tree
javascript
const sql = await llm.toSQL(question, schema);
const rows = await duck.query(sql);
render(autoChart(rows));
Live Demo
LLMsTutorials

All Topics

LLMs8Tools & Frameworks6Vibe Coding6Show & Tell4Agents3Tutorials2Research1Ethics & Safety0Local Models0Computer Vision0
MLOps
0
Open Source0
Startups0
Voice & Audio0
Robotics0