Go to file
2023-10-06 17:11:08 -07:00
.github fix file extension for stale workflow 2023-10-02 16:38:48 -07:00
apps Bump langchain from 0.0.246 to 0.0.308 in /apps/enterprise-knowledge-retrieval (#761) 2023-10-05 11:04:53 -07:00
examples Fix link to .py file (#763) 2023-10-06 17:11:08 -07:00
images Update README to point to website (#732) 2023-09-22 08:59:55 -07:00
.gitignore Add description and rename Obtain_dataset, and throw error when fine tuned model not available (#727) 2023-09-20 14:50:59 -07:00
how_to_work_with_large_language_models.md small grammar fix 2023-01-29 11:56:13 -05:00
LICENSE Create LICENSE (#136) 2023-02-15 15:20:06 -08:00
README.md Add registry (#751) 2023-10-02 12:51:36 -07:00
registry_schema.json Add registry (#751) 2023-10-02 12:51:36 -07:00
registry.yaml Add documentation advice 2023-10-05 16:47:21 -07:00
related_resources.md Add litellm to relevant resources (#757) 2023-10-05 11:03:23 -07:00
techniques_to_improve_reliability.md Merge pull request #313 from CharitySarah09/CharitySarah09-patch-2 2023-04-05 14:21:36 -07:00
text_comparison_examples.md [revise] small edits and fixed typos (#510) 2023-08-25 13:08:49 -07:00
what_makes_documentation_good.md Add documentation advice 2023-10-05 16:47:21 -07:00

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