organization property
String?
organization
The organization id, if set, it will be used in all the requests to the OpenAI API.
Implementation
static String? get organization => HeadersBuilder.organization;
If you have multiple organizations, you can set it's id with this. once this is set, it will be used in all the requests to the OpenAI API.
Example:
OpenAI.organization = "YOUR_ORGANIZATION_ID";
Implementation
static set organization(String? organizationId) {
HeadersBuilder.organization = organizationId;
}