Swastik Banerjee 3dde564948
fix iteration error (#208)
* fix iteration error

array iteration error: sentences up till max_len of token exceeds should be returned

* split list once instead of twice

split list once instead of twice and take parsed string up till max token length is exceeded
2023-03-21 14:45:56 -07:00
2023-03-21 14:45:56 -07:00
2022-10-26 16:30:38 +01:00
2023-01-20 14:20:03 -08:00
2023-01-20 14:20:03 -08:00
2023-01-20 14:20:03 -08:00
2023-02-15 15:20:06 -08:00
2023-03-01 10:00:07 -08:00
2023-01-20 14:20:03 -08:00
2023-01-20 14:20:03 -08:00
2023-01-20 14:20:03 -08:00

OpenAI Cookbook

The OpenAI Cookbook shares example code 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).

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

Recently added 🆕

Guides & examples

Beyond the code examples here, you can learn about the OpenAI API from the following resources:

Contributing

If there are examples or guides you'd like to see, feel free to suggest them on the issues page.

Description
No description provided
Readme MIT 398 MiB
Languages
MDX 100%