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

Examples and guides for using the OpenAI API

Results 581 openai-cookbook issues
Sort by recently updated
recently updated
newest added
trafficstars

This is an amazing script and I thought I would give it a huge justice by making it more readable for onlookers

## Description # API/process-files exceed the default file size that was set to default 4 MB by process.ts. ## Related [Issue](https://github.com/openai/openai-cookbook/issues/248) ## Motivation and Context # i changes that default...

Remove unnecessary cell (cell 30), which will do exactly what cell 29 is doing.

Removed unused `size` parameters in the `apps/web-crawl-q-and-a` jupyter and python files.

Hi, as the example in the official documentation, we can pass `logit_bias={"50256": -100}` to the `Completion` API to prevent the token from being generated. I'm trying to do the same...

I am trying to deploy an app from open ai , the app got deployed, however when i run the app, I get a streamlit error message TypeError: string indices...

Just modified the docs to be more clear on how to get the data and run the code

New to python, but experienced developer. Using PyCharm both on Linux and Windows. Using Python 3.10. Having constant problems with Jupiter Notebooks. Slow execution, constant missing packages. Works for a...

I'm trying to understand the https://platform.openai.com/docs/tutorials/web-qa-embeddings and i could not figure out, what size should do? https://github.com/openai/openai-cookbook/blob/ebfdfe30998a15e6ab0a09a903d78b538d1da295/apps/web-crawl-q-and-a/web-qa.py#L308