openai-cookbook
openai-cookbook copied to clipboard
Examples and guides for using the OpenAI API
I've noticed that running the `examples/api_request_parallel_processor.py` script twice with the same input file produces non-identical results. Only approximately half of the text embeddings show slight differences in their decimal places,...
the examples from the traing set -> the examples from the training set
Added chat format support
Can we have some instructions for deployment: "File Q&A with Next.js and Flask" ? Also would it be great if for all apps we can have some dockerfiles. Thanks 🙏...
Adds a dev container for the nextjs app, to simplify testing the project directly on VS Code.
The current sentence was missing from the array in chunks
Hi, I have this error when I make a simple question: May you help me? **_app:(https://github.com/openai/openai-cookbook/tree/main/apps/file-q-and-a)/nextjs-with-flask-server/_** **Unhandled Runtime Error TypeError: Cannot read properties of undefined (reading 'toLowerCase')** src\services\utils.ts (9:5) @...
When I run the nextjs flask server version of File Q&A, i get the no response on the browser. After checking the web console for error i get the following...
**reduce_long()** in **_Section 1.2_** of [olympics-1-collect-data.ipynb](https://github.com/openai/openai-cookbook/blob/c3b920f123a9c92c30b106462b5d5ecf53a4b3ab/examples/fine-tuned_qa/olympics-1-collect-data.ipynb) gives wrong results. It should take the sentence up to which max_len of token was not exceeded. Opened a PR #208 to fix it.
array iteration error: sentences up till max_len of token exceeds should be returned Here's a screenshot of before and after the change (vertically in terminal) in the code. Clearly, the...