0votes
3 answersBadRequestError for function calling — Why is my tool schema rejected?
The API says a function parameter schema is invalid or missing properties.

Find answers to your programming questions.
The API says a function parameter schema is invalid or missing properties.
A short request succeeds, but a long output or busy period times out.
The API says my model does not exist or I do not have access to it.
The SDK reports Connection error before I get an HTTP status code.
A loop works at first, then fails with a rate-limit message.
client = OpenAI() raises a 401 error even though I thought I configured my key.
I collected embeddings in a list or a pandas column, and np.array(embeddings) fails with an inhomogeneous shape error.
I want cosine nearest neighbors with scikit-learn, but specifying algorithm='kdtree' or 'balltree' with metric='cosine' fails.