openai-cookbook
openai-cookbook copied to clipboard
Examples and guides for using the OpenAI API
## Summary Add a flow-prompt.com in the resources of Prompting libraries ## Motivation Added in lib resources our new freshly released Open Source library for calculating the budget, and making...
## Summary The existing code has `"r'^(?:' + '|'.join({labels}) + ')$'"`, which is presumably trying to join the labels passed into the function, but the string interpolation does not appear...
[optional template] **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the...
## Summary This [PR](https://github.com/openai/openai-cookbook/commit/f1e13cfcc7e0f2a9015c562eede167b76b1d60fc#diff-a374fc63cb5e9743bb87abf28818712c9eebae0de81d43343008ca6775c53c94) bulk-updated older model names and changed this notebook to use `text-embedding-3-small` but broke it in the process; this notebook relies on comparisons b/w a query string...
 _Originally posted by @sarbazvatanatan in https://github.com/openai/openai-cookbook/pull/1056#pullrequestreview-2007849047_ ```[tasklist] ### Tasks - [ ] https://github.com/openai/openai-cookbook/pull/1056 ``` ```[tasklist] ### Tasks ```
## Summary Briefly describe the changes and the goal of this PR. Make sure the PR title summarizes the changes effectively. ## Motivation Why are these changes necessary? How do...
## Summary Briefly describe the changes and the goal of this PR. Make sure the PR title summarizes the changes effectively. Updated 4 recipes to match new SDK spec ##...
## Summary Fix for counting rate limited errors as response has changed and the current code doesnt increase the count. This check is never true even if rate limited :...
[optional template] **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the...
OpenAI Version == 1.12.0 Python == 3.9.6 OS == Mac Trying to run "Multiclass_classification_for_transactions.ipynb" getting below error: