aiAccountOrgsPlatformMetadataCreateWithHttpInfo method
Future<Response>
aiAccountOrgsPlatformMetadataCreateWithHttpInfo(
- String org, {
- IBLAIPlatformMeta? iBLAIPlatformMeta,
In order to use google as your LLM provider, you need to specify google_project (your google cloud project id) and google_location, which defaults to us-central1
Note: This method returns the HTTP Response.
Parameters:
-
String org (required):
-
IBLAIPlatformMeta iBLAIPlatformMeta:
Implementation
Future<Response> aiAccountOrgsPlatformMetadataCreateWithHttpInfo(String org, { IBLAIPlatformMeta? iBLAIPlatformMeta, }) async {
// ignore: prefer_const_declarations
final path = r'/api/ai/account/orgs/{org}/platform-metadata/'
.replaceAll('{org}', org);
// ignore: prefer_final_locals
Object? postBody = iBLAIPlatformMeta;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}