Skip to content

Commit

Permalink
cookbooks -> cookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Oct 30, 2024
1 parent def2c31 commit 8d5d277
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Docs are available [here](https://masci.github.io/banks/).
- [banks](#banks)
- [Installation](#installation)
- [Features](#features)
- [Cookbooks](#cookbooks)
- [Cookbook](#cookbook)
- [Examples](#examples)
- [:point\_right: Render a prompt template as chat messages](#point_right-render-a-prompt-template-as-chat-messages)
- [:point\_right: Use a LLM to generate a text while rendering a prompt](#point_right-use-a-llm-to-generate-a-text-while-rendering-a-prompt)
Expand All @@ -50,11 +50,11 @@ lifecycle:
first-class citizen.
- :file_cabinet: **Management**: Banks provides ways to store prompts on disk along with their metadata.

## Cookbooks
## Cookbook

- :blue_book: [In-prompt chat completion](https://github.com/masci/banks/blob/main/cookbooks/in_prompt_completion.ipynb)
- :blue_book: [Prompt caching with Anthropic](./cookbooks/Prompt_Caching_with_Anthropic.ipynb)
- :blue_book: [Prompt versioning](./cookbooks/Prompt_Versioning.ipynb)
- :blue_book: [In-prompt chat completion](./cookbook/in_prompt_completion.ipynb)
- :blue_book: [Prompt caching with Anthropic](./cookbook/Prompt_Caching_with_Anthropic.ipynb)
- :blue_book: [Prompt versioning](./cookbook/Prompt_Versioning.ipynb)

## Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"source": [
"# Use banks to cache prompts with Anthropic API\n",
"\n",
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/masci/banks/blob/main/cookbooks/Prompt_Caching_with_Anthropic.ipynb\">\n",
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/masci/banks/blob/main/cookbook/Prompt_Caching_with_Anthropic.ipynb\">\n",
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
"</a>\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# Prompt versioning\n",
"\n",
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/masci/banks/blob/main/cookbooks/Prompt_Versioning.ipynb\">\n",
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/masci/banks/blob/main/cookbook/Prompt_Versioning.ipynb\">\n",
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
"</a>\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"source": [
"# In-prompt chat completion\n",
"\n",
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/masci/banks/blob/main/cookbooks/Prompt_Versioning.ipynb\">\n",
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/masci/banks/blob/main/cookbook/Prompt_Versioning.ipynb\">\n",
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
"</a>\n",
"\n",
Expand Down
8 changes: 4 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ Some functionalities require additional dependencies that need to be installed m
If you like to jump straight to the code:

- See a showcase of basic examples [here](examples.md).
- Check out the Cookbooks:
- :blue_book: [In-prompt chat completion](https://github.com/masci/banks/blob/main/cookbooks/in_prompt_completion.ipynb)
- :blue_book: [Prompt caching with Anthropic](https://github.com/masci/banks/blob/main/cookbooks/Prompt_Caching_with_Anthropic.ipynb)
- :blue_book: [Prompt versioning](https://github.com/masci/banks/blob/main/cookbooks/Prompt_Versioning.ipynb)
- Check out the Cookbook:
- :blue_book: [In-prompt chat completion](https://github.com/masci/banks/blob/main/cookbook/in_prompt_completion.ipynb)
- :blue_book: [Prompt caching with Anthropic](https://github.com/masci/banks/blob/main/cookbook/Prompt_Caching_with_Anthropic.ipynb)
- :blue_book: [Prompt versioning](https://github.com/masci/banks/blob/main/cookbook/Prompt_Versioning.ipynb)

## License

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ only-include = ["src/banks", "src/templates"]
[tool.ruff]
target-version = "py39"
line-length = 120
exclude = ["cookbooks"]
exclude = ["cookbook"]
[tool.ruff.lint]
select = [
"A",
Expand Down

0 comments on commit 8d5d277

Please sign in to comment.