apiAiIndexOrgsOrgUsersUserIdMultilingualRetrieverTrainPost method

Future apiAiIndexOrgsOrgUsersUserIdMultilingualRetrieverTrainPost(
  1. String? org,
  2. String? userId,
  3. Map body
)

Implementation

Future<dynamic> apiAiIndexOrgsOrgUsersUserIdMultilingualRetrieverTrainPost(String? org, String? userId, Map body) async {
  final response = await http.post(
    Uri.parse('$dataBaseUrl/api/ai/index/orgs/$org/users/$userId/multilingual_retriever_train/'),
    body: json.encode(body),
    headers: _headers(),
  );
  return json.decode(response.body);
}