Before you begin, you'll need an OpenAI API key - create one in the dashboard here. Create a .env file from the example file and set your API key in there: This application shows how to send and ...
Notably, the Files API charges $10 (roughly Rs. 885) per 1,000 tool invocations. Each time the model searches the documents, it counts as one tool invocation. These charges are applied in addition to ...