Taking Building with the Claude API. Notes from today
- Two methods to implement multi-index RAG pipeline: VectorIndex and BM25Index
- You can wrap these two in a Retriever Class to merge the results and use a RRF_score algo to determine the final rank
Build Day Travel Site
- Use Claude as an agent to click onto Google My Maps to manually fetch Map Title and URL pairs, but it was a pain to get the right query. It’s a lot stricter on what you mean, eg. it interpreted “make sure” as an action to change a permission versus I just wanted it to verify a condition.
- Make sure was actually the language given by Claude
- Took a few frustrating tries which makes me believe that it could be really frustrating for someone to great new agents on prompts on certain rote tasks
- You also need to provide a clickthrough path or it will overcomplicate and open multiple pages and screenshot and eat your tokens. I forget how the agent workflow is much more literal.
- Iterate through instructions in Claude and not the agent
- Had to babysit it and send it screenshots
- Close to point where I could have done it manually faster if not for learning and still got stuck
Leave a Reply