openai/openai-cookbook
View on GitHub ↗ ★ 76,913 Jupyter Notebook
Examples and guides for using the OpenAI API
77 mentions on Hacker News by 63 people: 25 stories, 52 comments · first 2022-08-22 · latest 2026-09-10
20082026
-
Yes. You can use fine tuning ( https://platform.openai.com/docs/guides/fine-tuning and https://github.com/openai/openai-cookbook/tree/main/examples... ) to improve its knowledge set of a particular domain. Even with sufficient work on your…
comment by shagie · 2023-03-15 · in We can't all use AI. Someone has to generate the training data -
▲ 3
OpenAI Cookbook: How to format inputs to ChatGPT modelsstory by wyem · 2023-03-02 · 1 comment
-
Probably the embeddings API. This guide is what helped me understand the concept https://github.com/openai/openai-cookbook/blob/main/examples... tl;dr is that you can pre-process each chunk of your database and use embeddings to quickly…
comment by Hyzer · 2023-03-02 · in Introducing ChatGPT and Whisper APIs -
…you query the vectorized embeddings and then pass the n relevant texts into the completion api. https://github.com/openai/openai-cookbook/blob/main/examples...
comment by infecto · 2023-02-24 · in Show HN: Get advice from a GPT3-based stoic philosopher -
I think https://github.com/openai/openai-cookbook/blob/main/examples... is the one they are referring to. This is the page that links it https://github.com/openai/openai-cookbook/blob/main/text_com...
comment by cheeseblubber · 2023-02-23 · in Custom Embeddings: Why going viral caused us to rip out everything in a weekend -
▲ 3
OpenAI Cookbook Weaviate Examplesstory by bobvanluijt · 2023-02-13 · 0 comments
-
▲ 10
Dev LLM stack, production LLM stack, example projects, & things you'll discoverstory by tikkun · 2023-02-09 · 2 comments
-
…and downgrading to curie in several steps as you polish prompts and breakdown tasks (see https://github.com/openai/openai-cookbook/blob/main/techniqu... ). I haven't gotten beyond the davinci for prototyping tho. It's cheap enough that a…
comment by jrvarela56 · 2023-02-08 · in Use GPT-3 incorrectly: reduce costs 40x and increase speed by 5x -
…stored in it. For example a notebook for "lets train GPT on the information about the olympics - https://github.com/openai/openai-cookbook/blob/main/examples... and https://github.com/openai/openai-cookbook/blob/main/examples... and…
comment by shagie · 2023-02-01 · in Show HN: DocAsker – Use LLMs to ask documentation questions -
▲ 13
Ask HN: How are you building apps that use LLMs?story by jrvarela56 · 2023-01-29 · 3 comments
-
▲ 23
Ask HN: Is anyone building a question answering system using the HN corpus?story by rahimnathwani · 2023-01-24 · 15 comments
-
…https://pair.withgoogle.com/guidebook/ LLM advice: Tips to improve prompt and answer quality. https://github.com/openai/openai-cookbook/blob/main/techniqu... I wrote a short overview of some of the LLM Application development tools and…
comment by jmcminis · 2023-01-23 · in Ask HN: Best resources to learn how to use OpenAI for your startup? -
Mr Kumar seems to have missed the guide. Here https://github.com/openai/openai-cookbook/blob/main/techniqu...
comment by throwaway29303 · 2023-01-23 · in ChatGPT Is Bad at Math -
…as truthfully as possible, and if you're unsure of the answer, say "Sorry, I don't know" [0] https://github.com/openai/openai-cookbook/blob/main/examples... (which is now linked in OP)
comment by rahimnathwani · 2023-01-22 · in How to implement Q&A against your docs with GPT3 embeddings and Datasette -
…that it can already solve more difficult problems when given the right prompts and constraints. https://github.com/openai/openai-cookbook/blob/main/techniqu...
comment by programmarchy · 2023-01-22 · in What ChatGPT and AI-Based Program Generation Mean for Future of Software -
▲ 302
Techniques to improve reliabilitystory by tedsanders · 2023-01-21 · 61 comments
-
https://github.com/openai/openai-cookbook/blob/main/examples... would be something to look at too.
comment by shagie · 2023-01-16 · in OpenAI starts testing ChatGPT premium -
▲ 51
OpenAI Cookbookstory by jonbaer · 2023-01-10 · 1 comment
-
▲ 2
Examples and guides for using the OpenAI APIstory by activatedgeek · 2023-01-08 · 0 comments
-
…is not the right approach for this use-case. A better approach might look more like this: https://github.com/openai/openai-cookbook/blob/main/examples...
comment by sammyd56 · 2023-01-08 · in GPT3 Get answers to technical questions from your documentation site -
Here’s the example notebook that shows how to do this. https://github.com/openai/openai-cookbook/blob/main/examples...
comment by iamflimflam1 · 2023-01-08 · in GPT3 Get answers to technical questions from your documentation site -
Thanks for sharing this! I found this guide/example from OpenAI which was pretty clear: https://github.com/openai/openai-cookbook/blob/main/examples...
comment by gregsadetsky · 2023-01-05 · in Show HN: GPTDuck – Ask questions about any GitHub repo -
▲ 2
Question Answering Using GPT Embeddingsstory by kordlessagain · 2022-12-23 · 0 comments
-
▲ 2
OpenAI Cookbookstory by alonp99 · 2022-12-19 · 0 comments
-
▲ 1
Recommendation using embeddings and nearest neighbor searchstory by tosh · 2022-12-19 · 0 comments
-
…where you search over a knowledge base) I started a repo here with some barebones examples of each: https://github.com/openai/openai-cookbook/ If you're looking for examples of commercial applications, OpenAI published two blog posts…
comment by tedsanders · 2022-08-22 · in OpenAI API pricing update FAQ