Modules§
Structs§
- ApiError
- structure returned by OpenAI for errors
- ApiError
Details - Delete
Response - common response used by multiple delete API-s
- Error
- common error type used by api client traits, wraps underlying reqwest::Error, but also tries to provide response body, so error is easier to debug
- Open
AiClient - This is main client structure required for all requests.
It is passed as a reference parameter into all API operations.
It is also holds actual
reqwest::Client
http client, that performs requests. - Usage
- common struct that comes up in responses
Enums§
- Input
- enum used by different requests, it is common for apis ot take either single string or array of tokens