INNER CODE UNIT · Dart
organization
anasfik/openai · lib/src/instance/openai.dart:168
static set organization(String? organizationId) {
HeadersBuilder.organization = organizationId;
}
/// This controls whether to log steps inside the process of making a request, this helps debugging and pointing where something went wrong.
/// This uses [dart:developer] internally, so it will show anyway only while debugging code.
///
/// By default it is set to [true].
///
/// Example:
/// ```dart
/// OpenAI.instance.showLogs = false;
/// ```
static set showLogs(bool newValue) {
OpenAILogger.isActive = newValue;
}
/// This controls whether to log responses bodies or not.