v1ConvaiKnowledgeBaseFilePost method
Future<Response<AddKnowledgeBaseResponseModel> >
v1ConvaiKnowledgeBaseFilePost({
- String? xiApiKey,
- required BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost body,
Create File Document @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Implementation
Future<chopper.Response<AddKnowledgeBaseResponseModel>>
v1ConvaiKnowledgeBaseFilePost({
String? xiApiKey,
required BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost body,
}) {
generatedMapping.putIfAbsent(
AddKnowledgeBaseResponseModel,
() => AddKnowledgeBaseResponseModel.fromJsonFactory,
);
return _v1ConvaiKnowledgeBaseFilePost(
xiApiKey: xiApiKey?.toString(),
body: body,
);
}