Tag: claude

  • Build Day I used Gemini to create these GOTV fliers for Democrats Abroad Taiwan where I am a volunteer.  Gemini Nano Banana is hands down the best image tool. I fed instructions and samples (eg. logo files, mock-ups, and a brand style guide) and got something quickly while Claude had clear design issues, poor spacing…

  • (travel day)  Taking Building with the Claude API. Notes from today Retrieval Automated Regeneration – breaking documents into relevant chunks to avoid Claude getting less effective on large documents

  • Taking Building with the Claude API. Notes from today Web Search tool allows users Claude to search the web with most up-to-date info   You can use a request to Claude using a schema like this below How Meta Is Reinventing Product Management  The PRD every team relied on is now a paragraph and a prototype.…

  • Build Day  Took various iterations to have all fields populated and parsed for each column, even with latest model it took several asks and tries  Ended up tossing out initial build and various database parsers and extractions, although it was a valuable learning exercise to build my own parser tools, stand-up web app, and work…

  • Taking Building with the Claude API. Notes from today Claude hangs on to chunks to do validation steps to return proper JSON, eg. waiting for a closing quote on key-value pair and compare against JSON schema If this pause is not acceptable for use case, Fine Grained Tool Calling disables JSON validation step, but the…

  • Taking Building with the Claude API. Notes from today Create the tool function implementation Define the tool schema Add the schema to the tools list in run_conversation Add a case for the tool in run_tool Couch to 5K for AI  If you’re stuck on technical problems, you can explain what you’re trying to do in…

  • Taking Building with the Claude API. Notes from today Send user message to Claude with available tools Claude responds with text and/or tool requests Execute all requested tools and create result blocks Send tool results back as a user message Repeat until Claude provides a final answer Couch to 5K for AI  Teach AI to…

  • Taking Building with the Claude API. Notes from today Tool Schema helps Claude understand how to call our tool functions  After you run tool function, you send results black to Claude using a tool result block Why is Meta destroying its engineering organization? Turned its crown jewel engineering org and culture into a cost center…

  • (Travel Day) Opinion | Dear A.I. Companies: The Doom Trolling Needs to Stop – The New York Times “Like a cat leaving a dead bird at your doorstep, Anthropic catalogs the grim future that its products might produce, shrugs its shoulders and then returns to its furious efforts to make these warnings a reality.”  “They…

  • Taking Building with the Claude API. Notes from today You can pass tools as a kw arg in client.messages.create() or use a ToolUseBlock() Couch to 5K for AI Day 3 You need to explicitly ask otherwise it will just give you generalized recommendations A frontier without an ecosystem is not stable | sn scratchpad “This…