createKnowledgeBase
abstract suspend fun createKnowledgeBase(input: CreateKnowledgeBaseRequest): CreateKnowledgeBaseResponse
Creates a knowledge base from a specified data source. Supported data source connector types include:
S3_KNOWLEDGE_BASE– Uses an Amazon S3 bucket as the data source.WEB_CRAWLER– Uses web pages indexed by the built-in web crawler as the data source.GOOGLE_DRIVE– Uses Google Drive as the data source. Supports service account authentication only.SHAREPOINT– Uses SharePoint as the data source. Supports two-legged OAuth only.ONE_DRIVE– Uses OneDrive as the data source. Supports two-legged OAuth only.