openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

Examples and guides for using the OpenAI API

Results 368 openai-cookbook issues
Sort by recently updated
recently updated
newest added

if 'text/plain' in rheaders.get('Content-Type'): TypeError: argument of type 'NoneType' is not iterable

Hi, Could you provide me with any instructions how "to teach" chatgpt to speak my language? I am an Ossetian, we have less than 500K speakers today, so if we...

Hey so when I am interactiong with the api the results it shows for discord.js is of v13 even tho I write v14. Pls fix it

https://github.com/eclipsesource/theia/actions/runs/4232860762/jobs/7353106360#step:9:1

When counting token consumption for multiple prompts, completion tokens should be multiplied by the length of the prompt list.

1. add a terminal command sample about how to export OPENAI_API_KEY to environment

Look at this picture,Thanks! ![image](https://user-images.githubusercontent.com/38984443/225879695-78c092c6-5a83-4973-b528-8d6ad883f7e0.png)

1. modify commands like docker compose -> docker-compose 2. spell like 'Hash' -> 'HASH' 3. spelling in markdown