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

Chat completions on Azure have been released to the public under the preview version '2023-03-15-preview': [Reference](https://techcommunity.microsoft.com/t5/ai-cognitive-services-blog/working-with-gpt-4-and-chatgpt-models-on-azure-preview/ba-p/3773595) GitHub preview of the notebook: https://github.com/cmurtz-msft/openai-cookbook/blob/azure-chat/examples/azure/chat.ipynb

The notebook in web-crawl-q-a calls the API twice for embeddings (does actually the same thing in two subsequent cells). That's unfortunate if you run it w/o noticing and pay two...

I/O error on POST request for "https://api.openai.com/v1/chat/completions": Unexpected end of file from server; nested ex ception is java.net.SocketException: Unexpected end of file from server org.springframework.web.client.ResourceAccessException: I/O error on POST request...

https://github.com/jasongin/nvs/blob/master/doc/VSCODE.md

https://github.com/devcontainers/images/blob/main/src/universal/test-project/test-utils.sh

I'm trying to use the ChatGPT API to continue a conversation with a chatbot. However, I noticed that each API call clears the previous context, making it difficult to maintain...

This is for the Chatbot app. I have the Redisearch module loaded. The errant code: ``` # Optional step to drop the index if it already exists #redis_client.ft(INDEX_NAME).dropindex() # Check...

Hello, I setup this demo and am able to run the app. It will accept a pdf and make the api call to create the embeddings. But when I ask...

Is there any interest in tuning the inference hyperparameters such as model, prompt, max_tokens, n, temperature, and top_p? I've been studying how to get the best value of the inference...