[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1121":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},1121,"claude-cookbooks","anthropics\u002Fclaude-cookbooks","anthropics","A collection of notebooks\u002Frecipes showcasing some fun and effective ways of using Claude.",null,"Jupyter Notebook",45292,5259,566,50,0,47,357,2537,256,120,"MIT License",false,"main",true,[],"2026-06-12 04:00:07","# Claude Cookbooks\n\nThe Claude Cookbooks provide code and guides designed to help developers build with Claude, offering copy-able code snippets that you can easily integrate into your own projects.\n\n## Prerequisites\n\nTo make the most of the examples in this cookbook, you'll need a Claude API key (sign up for free [here](https:\u002F\u002Fwww.anthropic.com)).\n\nWhile the code examples are primarily written in Python, the concepts can be adapted to any programming language that supports interaction with the Claude API.\n\nIf you're new to working with the Claude API, we recommend starting with our [Claude API Fundamentals course](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fcourses\u002Ftree\u002Fmaster\u002Fanthropic_api_fundamentals) to get a solid foundation.\n\n## Explore Further\n\nLooking for more resources to enhance your experience with Claude and AI assistants? Check out these helpful links:\n\n- [Anthropic developer documentation](https:\u002F\u002Fdocs.claude.com\u002Fclaude\u002Fdocs\u002Fguide-to-anthropics-prompt-engineering-resources)\n- [Anthropic support docs](https:\u002F\u002Fsupport.anthropic.com)\n- [Anthropic Discord community](https:\u002F\u002Fwww.anthropic.com\u002Fdiscord)\n\n## Contributing\n\nThe Claude Cookbooks thrives on the contributions of the developer community. We value your input, whether it's submitting an idea, fixing a typo, adding a new guide, or improving an existing one. By contributing, you help make this resource even more valuable for everyone.\n\nTo avoid duplication of efforts, please review the existing issues and pull requests before contributing.\n\nIf you have ideas for new examples or guides, share them on the [issues page](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fissues).\n\n## Table of recipes\n\n### Capabilities\n- [Classification](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Ftree\u002Fmain\u002Fcapabilities\u002Fclassification): Explore techniques for text and data classification using Claude.\n- [Retrieval Augmented Generation](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Ftree\u002Fmain\u002Fcapabilities\u002Fretrieval_augmented_generation): Learn how to enhance Claude's responses with external knowledge.\n- [Summarization](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Ftree\u002Fmain\u002Fcapabilities\u002Fsummarization): Discover techniques for effective text summarization with Claude.\n\n### Tool Use and Integration\n- [Tool use](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Ftree\u002Fmain\u002Ftool_use): Learn how to integrate Claude with external tools and functions to extend its capabilities.\n  - [Customer service agent](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Ftool_use\u002Fcustomer_service_agent.ipynb)\n  - [Calculator integration](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Ftool_use\u002Fcalculator_tool.ipynb)\n  - [SQL queries](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmisc\u002Fhow_to_make_sql_queries.ipynb)\n\n### Third-Party Integrations\n- [Retrieval augmented generation](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Ftree\u002Fmain\u002Fthird_party): Supplement Claude's knowledge with external data sources.\n  - [Vector databases (Pinecone)](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fthird_party\u002FPinecone\u002Frag_using_pinecone.ipynb)\n  - [Wikipedia](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fthird_party\u002FWikipedia\u002Fwikipedia-search-cookbook.ipynb\u002F)\n  - [Web pages](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmisc\u002Fread_web_pages_with_haiku.ipynb)\n- [Embeddings with Voyage AI](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fthird_party\u002FVoyageAI\u002Fhow_to_create_embeddings.md)\n\n### Multimodal Capabilities\n- [Vision with Claude](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Ftree\u002Fmain\u002Fmultimodal): \n  - [Getting started with images](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmultimodal\u002Fgetting_started_with_vision.ipynb)\n  - [Best practices for vision](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmultimodal\u002Fbest_practices_for_vision.ipynb)\n  - [Interpreting charts and graphs](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmultimodal\u002Freading_charts_graphs_powerpoints.ipynb)\n  - [Extracting content from forms](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmultimodal\u002Fhow_to_transcribe_text.ipynb)\n- [Generate images with Claude](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmisc\u002Fillustrated_responses.ipynb): Use Claude with Stable Diffusion for image generation.\n\n### Advanced Techniques\n- [Sub-agents](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmultimodal\u002Fusing_sub_agents.ipynb): Learn how to use Haiku as a sub-agent in combination with Opus.\n- [Upload PDFs to Claude](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmisc\u002Fpdf_upload_summarization.ipynb): Parse and pass PDFs as text to Claude.\n- [Automated evaluations](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmisc\u002Fbuilding_evals.ipynb): Use Claude to automate the prompt evaluation process.\n- [Enable JSON mode](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmisc\u002Fhow_to_enable_json_mode.ipynb): Ensure consistent JSON output from Claude.\n- [Create a moderation filter](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmisc\u002Fbuilding_moderation_filter.ipynb): Use Claude to create a content moderation filter for your application.\n- [Prompt caching](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fanthropic-cookbook\u002Fblob\u002Fmain\u002Fmisc\u002Fprompt_caching.ipynb): Learn techniques for efficient prompt caching with Claude.\n\n## Additional Resources\n\n- [Anthropic on AWS](https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fanthropic-on-aws): Explore examples and solutions for using Claude on AWS infrastructure.\n- [AWS Samples](https:\u002F\u002Fgithub.com\u002Faws-samples\u002F): A collection of code samples from AWS which can be adapted for use with Claude. Note that some samples may require modification to work optimally with Claude.\n","Claude Cookbooks 是一系列展示如何有效使用 Claude 的 Jupyter Notebook 笔记本集合。该项目通过提供可复制的代码片段，帮助开发者轻松地将 Claude 集成到自己的项目中，主要使用 Python 编写但概念适用于任何支持 Claude API 的编程语言。核心功能包括文本分类、检索增强生成、摘要生成等，并展示了如何将 Claude 与外部工具如计算器和 SQL 查询集成，扩展其应用场景。适合希望利用 Claude API 构建或增强应用程序的开发人员，特别是在需要处理自然语言理解和生成任务时。",2,"2026-06-11 02:41:43","top_all"]