You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
aiqinxuancai 23bd266fef
Update How_to_count_tokens_with_tiktoken.ipynb (#368)
* Update How_to_count_tokens_with_tiktoken.ipynb

add c# tiktoken lib.

* Update How_to_count_tokens_with_tiktoken.ipynb

fix format.

* Update How_to_count_tokens_with_tiktoken.ipynb

fix format.
1 year ago
apps Added tiktoken to requirements file and updated README to include chatbot-kickstarter 1 year ago
examples Update How_to_count_tokens_with_tiktoken.ipynb (#368) 1 year ago
images
transition_guides_for_deprecated_API_endpoints removes deprecated Search function from deprecation code example (#130) 2 years ago
.gitignore
LICENSE Create LICENSE (#136) 2 years ago
README.md updates README table of contents 1 year ago
how_to_work_with_large_language_models.md small grammar fix 2 years ago
techniques_to_improve_reliability.md Merge pull request #313 from CharitySarah09/CharitySarah09-patch-2 2 years ago
text_comparison_examples.md add comparison benchmark for embedding models 2 years ago

README.md

OpenAI Cookbook

The OpenAI Cookbook shares example code for accomplishing common tasks with the OpenAI API.

To run these examples, you'll need an OpenAI account and API key (create a free account).

Most code examples are written in Python, though the concepts can be applied in any language.

Open in GitHub Codespaces

Recently added or updated 🆕

Guides & examples

Beyond the code examples here, you can learn about the OpenAI API from the following resources:

Contributing

If there are examples or guides you'd like to see, feel free to suggest them on the issues page.