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
Kai Chen f8fda2f47c Fix link to .py file (#763) 12 months ago
.github fix file extension for stale workflow 1 year ago
apps Bump langchain from 0.0.246 to 0.0.308 in /apps/enterprise-knowledge-retrieval (#761) 12 months ago
examples Fix link to .py file (#763) 12 months ago
images Update README to point to website (#732) 1 year ago
.gitignore Add description and rename Obtain_dataset, and throw error when fine tuned model not available (#727) 1 year ago
LICENSE Create LICENSE (#136) 2 years ago
README.md Add registry (#751) 1 year ago
how_to_work_with_large_language_models.md small grammar fix 2 years ago
registry.yaml Add documentation advice 12 months ago
registry_schema.json Add registry (#751) 1 year ago
related_resources.md Add litellm to relevant resources (#757) 12 months ago
techniques_to_improve_reliability.md Merge pull request #313 from CharitySarah09/CharitySarah09-patch-2 2 years ago
text_comparison_examples.md [revise] small edits and fixed typos (#510) 1 year ago
what_makes_documentation_good.md Add documentation advice 12 months ago

README.md

OpenAI Cookbook Logo

Navigate at cookbook.openai.com

Example code and guides for accomplishing common tasks with the OpenAI API. To run these examples, you'll need an OpenAI account and associated API key (create a free account here).

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

For other useful tools, guides and courses, check out these related resources from around the web.

Contributing

If there are examples or guides you'd like to see, feel free to suggest them on the issues page. We are also happy to accept high quality pull requests, as long as they fit the scope of the cookbook.

The contents of this repo are automatically rendered into cookbook.openai.com based on registry.yaml. When contributing a new example, make sure to add a new entry for it in registry.yaml so that it renders on the website.

Refer to our guide on what makes documentation good for guidance on how to make high quality contributions.

Open in GitHub Codespaces