AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateKnowledgeBase operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.BedrockAgent.AmazonBedrockAgentRequest
      Amazon.BedrockAgent.Model.CreateKnowledgeBaseRequest

Namespace: Amazon.BedrockAgent.Model
Assembly: AWSSDK.BedrockAgent.dll
Version: 3.x.y.z

Syntax

C#
public class CreateKnowledgeBaseRequest : AmazonBedrockAgentRequest
         IAmazonWebServiceRequest

The CreateKnowledgeBaseRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ClientToken System.String

Gets and sets the property ClientToken.

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

Public Property Description System.String

Gets and sets the property Description.

A description of the knowledge base.

Public Property KnowledgeBaseConfiguration Amazon.BedrockAgent.Model.KnowledgeBaseConfiguration

Gets and sets the property KnowledgeBaseConfiguration.

Contains details about the embeddings model used for the knowledge base.

Public Property Name System.String

Gets and sets the property Name.

A name for the knowledge base.

Public Property RoleArn System.String

Gets and sets the property RoleArn.

The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.

Public Property StorageConfiguration Amazon.BedrockAgent.Model.StorageConfiguration

Gets and sets the property StorageConfiguration.

Contains details about the configuration of the vector database used for the knowledge base.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5