Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to Claude Cookbook
# Contributing to Claude Cookbooks

Thank you for your interest in contributing to the Claude Cookbook! This guide will help you get started with development and ensure your contributions meet our quality standards.
Thank you for your interest in contributing to the Claude Cookbooks! This guide will help you get started with development and ensure your contributions meet our quality standards.

## Development Setup

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Claude Cookbook
# Claude Cookbooks

The Claude Cookbook provides code and guides designed to help developers build with Claude, offering copy-able code snippets that you can easily integrate into your own projects.
The 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.

## Prerequisites

Expand All @@ -20,7 +20,7 @@ Looking for more resources to enhance your experience with Claude and AI assista

## Contributing

The Claude Cookbook 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.
The 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.

To avoid duplication of efforts, please review the existing issues and pull requests before contributing.

Expand Down
2 changes: 1 addition & 1 deletion lychee.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lychee configuration for Claude Cookbook
# Lychee configuration for Claude Cookbooks
# Validates links in notebooks and documentation

# Core settings
Expand Down
2 changes: 1 addition & 1 deletion skills/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Claude Skills

Welcome to the Skills section of the Claude Cookbook! This directory contains a collection of guides that showcase specific skills and capabilities where Claude excels. Each guide provides an in-depth exploration of a particular skill, discussing potential use cases, prompt engineering techniques to optimize results, and approaches for evaluating Claude's performance.
Welcome to the Skills section of the Claude Cookbooks! This directory contains a collection of guides that showcase specific skills and capabilities where Claude excels. Each guide provides an in-depth exploration of a particular skill, discussing potential use cases, prompt engineering techniques to optimize results, and approaches for evaluating Claude's performance.

## Guides

Expand Down
14 changes: 7 additions & 7 deletions skills/retrieval_augmented_generation/data/anthropic_docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"chunk_link": "https://docs.claude.com/en/docs/welcome#develop-with-claude",
"chunk_heading": "Develop with Claude",
"text": "Develop with Claude\n\n\nAnthropic has best-in-class developer tools to build scalable applications with Claude.\nDeveloper ConsoleEnjoy easier, more powerful prompting in your browser with the Workbench and prompt generator tool.API ReferenceExplore, implement, and scale with the Claude API and SDKs.Claude CookbookLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\nDeveloper ConsoleEnjoy easier, more powerful prompting in your browser with the Workbench and prompt generator tool.\n\nDeveloper Console\nEnjoy easier, more powerful prompting in your browser with the Workbench and prompt generator tool.\nAPI ReferenceExplore, implement, and scale with the Claude API and SDKs.\n\nAPI Reference\nExplore, implement, and scale with the Claude API and SDKs.\nClaude CookbookLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\n\nClaude Cookbook\nLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\n"
"text": "Develop with Claude\n\n\nAnthropic has best-in-class developer tools to build scalable applications with Claude.\nDeveloper ConsoleEnjoy easier, more powerful prompting in your browser with the Workbench and prompt generator tool.API ReferenceExplore, implement, and scale with the Claude API and SDKs.Claude CookbooksLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\nDeveloper ConsoleEnjoy easier, more powerful prompting in your browser with the Workbench and prompt generator tool.\n\nDeveloper Console\nEnjoy easier, more powerful prompting in your browser with the Workbench and prompt generator tool.\nAPI ReferenceExplore, implement, and scale with the Claude API and SDKs.\n\nAPI Reference\nExplore, implement, and scale with the Claude API and SDKs.\nClaude CookbooksLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\n\nClaude Cookbooks\nLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\n"
},
{
"chunk_link": "https://docs.claude.com/en/docs/welcome#key-capabilities",
Expand Down Expand Up @@ -67,7 +67,7 @@
{
"chunk_link": "https://docs.claude.com/en/docs/quickstart#next-steps",
"chunk_heading": "Next steps",
"text": "Next steps\n\n\nNow that you have made your first Claude API request, it\u2019s time to explore what else is possible:\nPrompt Engineering GuideOptimize Claude\u2019s performance through prompting.Claude CookbookLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.Prompt LibraryExplore dozens of example prompts for inspiration across use cases.\nPrompt Engineering GuideOptimize Claude\u2019s performance through prompting.\n\nPrompt Engineering Guide\nOptimize Claude\u2019s performance through prompting.\nClaude CookbookLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\n\nClaude Cookbook\nLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\nPrompt LibraryExplore dozens of example prompts for inspiration across use cases.\n\nPrompt Library\nExplore dozens of example prompts for inspiration across use cases.\nOverviewIntro to Claudexlinkedin\nOverviewIntro to Claude\nxlinkedin\nPrerequisites Start with the Workbench Install the SDK Set your API key Call the API Next steps\nPrerequisitesStart with the WorkbenchInstall the SDKSet your API keyCall the APINext steps\n"
"text": "Next steps\n\n\nNow that you have made your first Claude API request, it\u2019s time to explore what else is possible:\nPrompt Engineering GuideOptimize Claude\u2019s performance through prompting.Claude CookbooksLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.Prompt LibraryExplore dozens of example prompts for inspiration across use cases.\nPrompt Engineering GuideOptimize Claude\u2019s performance through prompting.\n\nPrompt Engineering Guide\nOptimize Claude\u2019s performance through prompting.\nClaude CookbooksLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\n\nClaude Cookbooks\nLearn with interactive Jupyter notebooks that demonstrate uploading PDFs, embeddings, and more.\nPrompt LibraryExplore dozens of example prompts for inspiration across use cases.\n\nPrompt Library\nExplore dozens of example prompts for inspiration across use cases.\nOverviewIntro to Claudexlinkedin\nOverviewIntro to Claude\nxlinkedin\nPrerequisites Start with the Workbench Install the SDK Set your API key Call the API Next steps\nPrerequisitesStart with the WorkbenchInstall the SDKSet your API keyCall the APINext steps\n"
},
{
"chunk_link": "https://docs.claude.com/en/docs/intro-to-claude#what-you-can-do-with-claude",
Expand Down Expand Up @@ -102,7 +102,7 @@
{
"chunk_link": "https://docs.claude.com/en/docs/intro-to-claude#start-building-with-claude",
"chunk_heading": "Start building with Claude",
"text": "Start building with Claude\n\n\nWhen you\u2019re ready, start building with Claude:\nFollow the Quickstart to make your first API call\nCheck out the API Reference\nExplore the Prompt Library for example prompts\nExperiment and start building with the Workbench\nCheck out the Claude Cookbook for working code examples\nQuickstartOverviewxlinkedin\nQuickstartOverview\nxlinkedin\nWhat you can do with Claude Model options Claude 3.5 Family Claude 3 Family Enterprise considerations Implementing Claude Start building with Claude\nWhat you can do with ClaudeModel optionsClaude 3.5 FamilyClaude 3 FamilyEnterprise considerationsImplementing ClaudeStart building with Claude\n"
"text": "Start building with Claude\n\n\nWhen you\u2019re ready, start building with Claude:\nFollow the Quickstart to make your first API call\nCheck out the API Reference\nExplore the Prompt Library for example prompts\nExperiment and start building with the Workbench\nCheck out the Claude Cookbooks for working code examples\nQuickstartOverviewxlinkedin\nQuickstartOverview\nxlinkedin\nWhat you can do with Claude Model options Claude 3.5 Family Claude 3 Family Enterprise considerations Implementing Claude Start building with Claude\nWhat you can do with ClaudeModel optionsClaude 3.5 FamilyClaude 3 FamilyEnterprise considerationsImplementing ClaudeStart building with Claude\n"
},
{
"chunk_link": "https://docs.claude.com/en/docs/about-claude/models#model-names",
Expand Down Expand Up @@ -186,13 +186,13 @@
},
{
"chunk_link": "https://docs.claude.com/en/docs/build-with-claude/text-generation#anthropic-cookbook",
"chunk_heading": "Claude Cookbook",
"text": "Claude Cookbook\n\n\nDive into practical examples and hands-on tutorials with our collection of Jupyter notebooks.\nPDF Upload & SummarizationLearn how to upload PDFs and have Claude summarize their content, making it easy to digest long documents.Tool Use & Function CallingDiscover how to extend Claude\u2019s capabilities by integrating external tools and functions into your workflows.Embeddings with VoyageAIExplore how to create and use embeddings with VoyageAI for advanced text similarity and search tasks.\nPDF Upload & SummarizationLearn how to upload PDFs and have Claude summarize their content, making it easy to digest long documents.\n\nPDF Upload & Summarization\nLearn how to upload PDFs and have Claude summarize their content, making it easy to digest long documents.\nTool Use & Function CallingDiscover how to extend Claude\u2019s capabilities by integrating external tools and functions into your workflows.\n\nTool Use & Function Calling\nDiscover how to extend Claude\u2019s capabilities by integrating external tools and functions into your workflows.\nEmbeddings with VoyageAIExplore how to create and use embeddings with VoyageAI for advanced text similarity and search tasks.\n\nEmbeddings with VoyageAI\nExplore how to create and use embeddings with VoyageAI for advanced text similarity and search tasks.\n"
"chunk_heading": "Claude Cookbooks",
"text": "Claude Cookbooks\n\n\nDive into practical examples and hands-on tutorials with our collection of Jupyter notebooks.\nPDF Upload & SummarizationLearn how to upload PDFs and have Claude summarize their content, making it easy to digest long documents.Tool Use & Function CallingDiscover how to extend Claude\u2019s capabilities by integrating external tools and functions into your workflows.Embeddings with VoyageAIExplore how to create and use embeddings with VoyageAI for advanced text similarity and search tasks.\nPDF Upload & SummarizationLearn how to upload PDFs and have Claude summarize their content, making it easy to digest long documents.\n\nPDF Upload & Summarization\nLearn how to upload PDFs and have Claude summarize their content, making it easy to digest long documents.\nTool Use & Function CallingDiscover how to extend Claude\u2019s capabilities by integrating external tools and functions into your workflows.\n\nTool Use & Function Calling\nDiscover how to extend Claude\u2019s capabilities by integrating external tools and functions into your workflows.\nEmbeddings with VoyageAIExplore how to create and use embeddings with VoyageAI for advanced text similarity and search tasks.\n\nEmbeddings with VoyageAI\nExplore how to create and use embeddings with VoyageAI for advanced text similarity and search tasks.\n"
},
{
"chunk_link": "https://docs.claude.com/en/docs/build-with-claude/text-generation#more-resources",
"chunk_heading": "More Resources",
"text": "More Resources\n\n\nFrom crafting the perfect prompt to understanding API details, we\u2019ve got you covered.\nPrompt Engineering GuideMaster the art of prompt crafting to get the most out of Claude. Especially useful for fine-tuning with legacy models.Prompt LibraryFind a wide range of pre-crafted prompts for various tasks and industries. Perfect for inspiration or quick starts.API DocumentationEverything you need to interact with Claude via our API: request formats, response handling, and troubleshooting.\nPrompt Engineering GuideMaster the art of prompt crafting to get the most out of Claude. Especially useful for fine-tuning with legacy models.\n\nPrompt Engineering Guide\nMaster the art of prompt crafting to get the most out of Claude. Especially useful for fine-tuning with legacy models.\nPrompt LibraryFind a wide range of pre-crafted prompts for various tasks and industries. Perfect for inspiration or quick starts.\n\nPrompt Library\nFind a wide range of pre-crafted prompts for various tasks and industries. Perfect for inspiration or quick starts.\nAPI DocumentationEverything you need to interact with Claude via our API: request formats, response handling, and troubleshooting.\n\nAPI Documentation\nEverything you need to interact with Claude via our API: request formats, response handling, and troubleshooting.\nLong context tipsEmbeddingsxlinkedin\nLong context tipsEmbeddings\nxlinkedin\nText capabilities and use cases Claude Cookbook More Resources\nText capabilities and use casesClaude CookbookMore Resources\n"
"text": "More Resources\n\n\nFrom crafting the perfect prompt to understanding API details, we\u2019ve got you covered.\nPrompt Engineering GuideMaster the art of prompt crafting to get the most out of Claude. Especially useful for fine-tuning with legacy models.Prompt LibraryFind a wide range of pre-crafted prompts for various tasks and industries. Perfect for inspiration or quick starts.API DocumentationEverything you need to interact with Claude via our API: request formats, response handling, and troubleshooting.\nPrompt Engineering GuideMaster the art of prompt crafting to get the most out of Claude. Especially useful for fine-tuning with legacy models.\n\nPrompt Engineering Guide\nMaster the art of prompt crafting to get the most out of Claude. Especially useful for fine-tuning with legacy models.\nPrompt LibraryFind a wide range of pre-crafted prompts for various tasks and industries. Perfect for inspiration or quick starts.\n\nPrompt Library\nFind a wide range of pre-crafted prompts for various tasks and industries. Perfect for inspiration or quick starts.\nAPI DocumentationEverything you need to interact with Claude via our API: request formats, response handling, and troubleshooting.\n\nAPI Documentation\nEverything you need to interact with Claude via our API: request formats, response handling, and troubleshooting.\nLong context tipsEmbeddingsxlinkedin\nLong context tipsEmbeddings\nxlinkedin\nText capabilities and use cases Claude Cookbooks More Resources\nText capabilities and use casesClaude CookbooksMore Resources\n"
},
{
"chunk_link": "https://docs.claude.com/en/docs/build-with-claude/embeddings#before-implementing-embeddings",
Expand Down Expand Up @@ -1027,7 +1027,7 @@
{
"chunk_link": "https://docs.claude.com/en/docs/about-claude/use-cases/classification#deploy-your-classifier",
"chunk_heading": "Deploy your classifier",
"text": "Deploy your classifier\n\n\nTo see code examples of how to use Claude for classification, check out the Classification Guide in the Claude Cookbook.\nOverviewTicket Routingxlinkedin\nOverviewTicket Routing\nxlinkedin\nWhen to use Claude for classification Establish your classification use case Implement Claude for classification 1. Build a strong input prompt 2. Develop your test cases 3. Run your eval Evaluation metrics Deploy your classifier\nWhen to use Claude for classificationEstablish your classification use caseImplement Claude for classification1. Build a strong input prompt2. Develop your test cases3. Run your evalEvaluation metricsDeploy your classifier\n"
"text": "Deploy your classifier\n\n\nTo see code examples of how to use Claude for classification, check out the Classification Guide in the Claude Cookbooks.\nOverviewTicket Routingxlinkedin\nOverviewTicket Routing\nxlinkedin\nWhen to use Claude for classification Establish your classification use case Implement Claude for classification 1. Build a strong input prompt 2. Develop your test cases 3. Run your eval Evaluation metrics Deploy your classifier\nWhen to use Claude for classificationEstablish your classification use caseImplement Claude for classification1. Build a strong input prompt2. Develop your test cases3. Run your evalEvaluation metricsDeploy your classifier\n"
},
{
"chunk_link": "https://docs.claude.com/en/api/messages-streaming#streaming-with-sdks",
Expand Down
Loading
Loading