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

Official JavaScript / TypeScript library for the OpenAI API

Results 190 openai-node issues
Sort by recently updated
recently updated
newest added

### Describe the bug When I ask Rewrite the previous response Or Show a Previous Response instead of My answer, it shows a different user response instead of my prompts...

bug

### Describe the bug Imported the `openai` module and I'm getting an error for an undefined type `File`. ![image](https://user-images.githubusercontent.com/2531435/212184126-49bef740-2c0f-4820-b9f9-e99ac04f5ae4.png) ![image](https://user-images.githubusercontent.com/2531435/212184207-89ec3db2-f489-4434-9f17-6bdfd3cfe7be.png) ### To Reproduce 1. Run `npm install openai`. 2. Create...

bug

### Describe the feature or improvement you're requesting Update the API configuration to support Azure openai endpoints as well. In order to use the Python OpenAI library with Microsoft Azure...

### Describe the bug When I pass in an array of strings for the "input" param as specified [here](https://platform.openai.com/docs/api-reference/embeddings/create), the connection times out and eventually I get an error 500...

bug

### Describe the bug You requested a model that is not compatible with this engine ### To Reproduce i meet a error: "You requested a model that is not compatible...

bug

### Describe the feature or improvement you're requesting I like to use the api to ask question, but you know the chatGPT will save the chat conversation, next time you...

### Describe the feature or improvement you're requesting Hello, Is there a way to detect source code in ChatGPT responses ? Example: - Prompt: `how to write hello world using...

OpenAI has some [great embedding examples in the OpenAI Cookbook](https://github.com/openai/openai-cookbook/tree/838f000935d9df03e75e181cbcea2e306850794b/examples) & API docs for Python, but none for Nodejs. Would be awesome if you could add some for different use...

### Describe the bug I am trying to use the client inside a Cloudflare Worker and I get an error as follows: ``` TypeError: adapter is not a function at...

bug

### Describe the feature or improvement you're requesting - Axios is not compatible with other runtimes (for example Edge). - Significant reduction in size - Fetch support for all runtimes...