createKnowledgeBase
Creates a knowledge base. A knowledge base contains your data sources so that Large Language Models (LLMs) can use your data. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up a knowledge base.
If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see Create a knowledge base.
Provide the
nameand an optionaldescription.Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the
roleArnfield.Provide the embedding model to use in the
embeddingModelArnfield in theknowledgeBaseConfigurationobject.Provide the configuration for your vector store in the
storageConfigurationobject.For an Amazon OpenSearch Service database, use the
opensearchServerlessConfigurationobject. For more information, see Create a vector store in Amazon OpenSearch Service.For an Amazon Aurora database, use the
RdsConfigurationobject. For more information, see Create a vector store in Amazon Aurora.For a Pinecone database, use the
pineconeConfigurationobject. For more information, see Create a vector store in Pinecone.For a Redis Enterprise Cloud database, use the
redisEnterpriseCloudConfigurationobject. For more information, see Create a vector store in Redis Enterprise Cloud.