We recommend new projects start with resources from the AWS provider.
aws-native.wisdom.getKnowledgeBase
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Wisdom::KnowledgeBase Resource Type
Using getKnowledgeBase
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKnowledgeBase(args: GetKnowledgeBaseArgs, opts?: InvokeOptions): Promise<GetKnowledgeBaseResult>
function getKnowledgeBaseOutput(args: GetKnowledgeBaseOutputArgs, opts?: InvokeOptions): Output<GetKnowledgeBaseResult>def get_knowledge_base(knowledge_base_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetKnowledgeBaseResult
def get_knowledge_base_output(knowledge_base_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetKnowledgeBaseResult]func LookupKnowledgeBase(ctx *Context, args *LookupKnowledgeBaseArgs, opts ...InvokeOption) (*LookupKnowledgeBaseResult, error)
func LookupKnowledgeBaseOutput(ctx *Context, args *LookupKnowledgeBaseOutputArgs, opts ...InvokeOption) LookupKnowledgeBaseResultOutput> Note: This function is named LookupKnowledgeBase in the Go SDK.
public static class GetKnowledgeBase 
{
    public static Task<GetKnowledgeBaseResult> InvokeAsync(GetKnowledgeBaseArgs args, InvokeOptions? opts = null)
    public static Output<GetKnowledgeBaseResult> Invoke(GetKnowledgeBaseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKnowledgeBaseResult> getKnowledgeBase(GetKnowledgeBaseArgs args, InvokeOptions options)
public static Output<GetKnowledgeBaseResult> getKnowledgeBase(GetKnowledgeBaseArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:wisdom:getKnowledgeBase
  arguments:
    # arguments dictionaryThe following arguments are supported:
- KnowledgeBase stringId 
- The ID of the knowledge base.
- KnowledgeBase stringId 
- The ID of the knowledge base.
- knowledgeBase StringId 
- The ID of the knowledge base.
- knowledgeBase stringId 
- The ID of the knowledge base.
- knowledge_base_ strid 
- The ID of the knowledge base.
- knowledgeBase StringId 
- The ID of the knowledge base.
getKnowledgeBase Result
The following output properties are available:
- KnowledgeBase stringArn 
- The Amazon Resource Name (ARN) of the knowledge base.
- KnowledgeBase stringId 
- The ID of the knowledge base.
- RenderingConfiguration Pulumi.Aws Native. Wisdom. Outputs. Knowledge Base Rendering Configuration 
- Information about how to render the content.
- VectorIngestion Pulumi.Configuration Aws Native. Wisdom. Outputs. Knowledge Base Vector Ingestion Configuration 
- Contains details about how to ingest the documents in a data source.
- KnowledgeBase stringArn 
- The Amazon Resource Name (ARN) of the knowledge base.
- KnowledgeBase stringId 
- The ID of the knowledge base.
- RenderingConfiguration KnowledgeBase Rendering Configuration 
- Information about how to render the content.
- VectorIngestion KnowledgeConfiguration Base Vector Ingestion Configuration 
- Contains details about how to ingest the documents in a data source.
- knowledgeBase StringArn 
- The Amazon Resource Name (ARN) of the knowledge base.
- knowledgeBase StringId 
- The ID of the knowledge base.
- renderingConfiguration KnowledgeBase Rendering Configuration 
- Information about how to render the content.
- vectorIngestion KnowledgeConfiguration Base Vector Ingestion Configuration 
- Contains details about how to ingest the documents in a data source.
- knowledgeBase stringArn 
- The Amazon Resource Name (ARN) of the knowledge base.
- knowledgeBase stringId 
- The ID of the knowledge base.
- renderingConfiguration KnowledgeBase Rendering Configuration 
- Information about how to render the content.
- vectorIngestion KnowledgeConfiguration Base Vector Ingestion Configuration 
- Contains details about how to ingest the documents in a data source.
- knowledge_base_ strarn 
- The Amazon Resource Name (ARN) of the knowledge base.
- knowledge_base_ strid 
- The ID of the knowledge base.
- rendering_configuration KnowledgeBase Rendering Configuration 
- Information about how to render the content.
- vector_ingestion_ Knowledgeconfiguration Base Vector Ingestion Configuration 
- Contains details about how to ingest the documents in a data source.
- knowledgeBase StringArn 
- The Amazon Resource Name (ARN) of the knowledge base.
- knowledgeBase StringId 
- The ID of the knowledge base.
- renderingConfiguration Property Map
- Information about how to render the content.
- vectorIngestion Property MapConfiguration 
- Contains details about how to ingest the documents in a data source.
Supporting Types
KnowledgeBaseBedrockFoundationModelConfiguration     
- ModelArn string
- The model ARN of the Bedrock foundation model.
- ParsingPrompt Pulumi.Aws Native. Wisdom. Inputs. Knowledge Base Bedrock Foundation Model Configuration Parsing Prompt Properties 
- The parsing prompt of the Bedrock foundation model configuration.
- ModelArn string
- The model ARN of the Bedrock foundation model.
- ParsingPrompt KnowledgeBase Bedrock Foundation Model Configuration Parsing Prompt Properties 
- The parsing prompt of the Bedrock foundation model configuration.
- modelArn String
- The model ARN of the Bedrock foundation model.
- parsingPrompt KnowledgeBase Bedrock Foundation Model Configuration Parsing Prompt Properties 
- The parsing prompt of the Bedrock foundation model configuration.
- modelArn string
- The model ARN of the Bedrock foundation model.
- parsingPrompt KnowledgeBase Bedrock Foundation Model Configuration Parsing Prompt Properties 
- The parsing prompt of the Bedrock foundation model configuration.
- model_arn str
- The model ARN of the Bedrock foundation model.
- parsing_prompt KnowledgeBase Bedrock Foundation Model Configuration Parsing Prompt Properties 
- The parsing prompt of the Bedrock foundation model configuration.
- modelArn String
- The model ARN of the Bedrock foundation model.
- parsingPrompt Property Map
- The parsing prompt of the Bedrock foundation model configuration.
KnowledgeBaseBedrockFoundationModelConfigurationParsingPromptProperties        
- ParsingPrompt stringText 
- ParsingPrompt stringText 
- parsingPrompt StringText 
- parsingPrompt stringText 
- parsingPrompt StringText 
KnowledgeBaseFixedSizeChunkingConfiguration     
- MaxTokens double
- The maximum number of tokens to include in a chunk.
- OverlapPercentage double
- The percentage of overlap between adjacent chunks of a data source.
- MaxTokens float64
- The maximum number of tokens to include in a chunk.
- OverlapPercentage float64
- The percentage of overlap between adjacent chunks of a data source.
- maxTokens Double
- The maximum number of tokens to include in a chunk.
- overlapPercentage Double
- The percentage of overlap between adjacent chunks of a data source.
- maxTokens number
- The maximum number of tokens to include in a chunk.
- overlapPercentage number
- The percentage of overlap between adjacent chunks of a data source.
- max_tokens float
- The maximum number of tokens to include in a chunk.
- overlap_percentage float
- The percentage of overlap between adjacent chunks of a data source.
- maxTokens Number
- The maximum number of tokens to include in a chunk.
- overlapPercentage Number
- The percentage of overlap between adjacent chunks of a data source.
KnowledgeBaseHierarchicalChunkingConfiguration    
- LevelConfigurations List<Pulumi.Aws Native. Wisdom. Inputs. Knowledge Base Hierarchical Chunking Level Configuration> 
- Token settings for each layer.
- OverlapTokens double
- The number of tokens to repeat across chunks in the same layer.
- LevelConfigurations []KnowledgeBase Hierarchical Chunking Level Configuration 
- Token settings for each layer.
- OverlapTokens float64
- The number of tokens to repeat across chunks in the same layer.
- levelConfigurations List<KnowledgeBase Hierarchical Chunking Level Configuration> 
- Token settings for each layer.
- overlapTokens Double
- The number of tokens to repeat across chunks in the same layer.
- levelConfigurations KnowledgeBase Hierarchical Chunking Level Configuration[] 
- Token settings for each layer.
- overlapTokens number
- The number of tokens to repeat across chunks in the same layer.
- level_configurations Sequence[KnowledgeBase Hierarchical Chunking Level Configuration] 
- Token settings for each layer.
- overlap_tokens float
- The number of tokens to repeat across chunks in the same layer.
- levelConfigurations List<Property Map>
- Token settings for each layer.
- overlapTokens Number
- The number of tokens to repeat across chunks in the same layer.
KnowledgeBaseHierarchicalChunkingLevelConfiguration     
- MaxTokens double
- The maximum number of tokens that a chunk can contain in this layer.
- MaxTokens float64
- The maximum number of tokens that a chunk can contain in this layer.
- maxTokens Double
- The maximum number of tokens that a chunk can contain in this layer.
- maxTokens number
- The maximum number of tokens that a chunk can contain in this layer.
- max_tokens float
- The maximum number of tokens that a chunk can contain in this layer.
- maxTokens Number
- The maximum number of tokens that a chunk can contain in this layer.
KnowledgeBaseRenderingConfiguration   
- TemplateUri string
- A URI template containing exactly one variable in - ${variableName}format. This can only be set for- EXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce: Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted
- ServiceNow: number,short_description,sys_mod_count,workflow_state, oractive
- Zendesk: id,title,updated_at, ordraft
 - The variable is replaced with the actual value for a piece of content when calling GetContent . 
- Salesforce: 
- TemplateUri string
- A URI template containing exactly one variable in - ${variableName}format. This can only be set for- EXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce: Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted
- ServiceNow: number,short_description,sys_mod_count,workflow_state, oractive
- Zendesk: id,title,updated_at, ordraft
 - The variable is replaced with the actual value for a piece of content when calling GetContent . 
- Salesforce: 
- templateUri String
- A URI template containing exactly one variable in - ${variableName}format. This can only be set for- EXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce: Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted
- ServiceNow: number,short_description,sys_mod_count,workflow_state, oractive
- Zendesk: id,title,updated_at, ordraft
 - The variable is replaced with the actual value for a piece of content when calling GetContent . 
- Salesforce: 
- templateUri string
- A URI template containing exactly one variable in - ${variableName}format. This can only be set for- EXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce: Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted
- ServiceNow: number,short_description,sys_mod_count,workflow_state, oractive
- Zendesk: id,title,updated_at, ordraft
 - The variable is replaced with the actual value for a piece of content when calling GetContent . 
- Salesforce: 
- template_uri str
- A URI template containing exactly one variable in - ${variableName}format. This can only be set for- EXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce: Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted
- ServiceNow: number,short_description,sys_mod_count,workflow_state, oractive
- Zendesk: id,title,updated_at, ordraft
 - The variable is replaced with the actual value for a piece of content when calling GetContent . 
- Salesforce: 
- templateUri String
- A URI template containing exactly one variable in - ${variableName}format. This can only be set for- EXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce: Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted
- ServiceNow: number,short_description,sys_mod_count,workflow_state, oractive
- Zendesk: id,title,updated_at, ordraft
 - The variable is replaced with the actual value for a piece of content when calling GetContent . 
- Salesforce: 
KnowledgeBaseSemanticChunkingConfiguration    
- BreakpointPercentile doubleThreshold 
- The dissimilarity threshold for splitting chunks.
- BufferSize double
- The buffer size.
- MaxTokens double
- The maximum number of tokens that a chunk can contain.
- BreakpointPercentile float64Threshold 
- The dissimilarity threshold for splitting chunks.
- BufferSize float64
- The buffer size.
- MaxTokens float64
- The maximum number of tokens that a chunk can contain.
- breakpointPercentile DoubleThreshold 
- The dissimilarity threshold for splitting chunks.
- bufferSize Double
- The buffer size.
- maxTokens Double
- The maximum number of tokens that a chunk can contain.
- breakpointPercentile numberThreshold 
- The dissimilarity threshold for splitting chunks.
- bufferSize number
- The buffer size.
- maxTokens number
- The maximum number of tokens that a chunk can contain.
- breakpoint_percentile_ floatthreshold 
- The dissimilarity threshold for splitting chunks.
- buffer_size float
- The buffer size.
- max_tokens float
- The maximum number of tokens that a chunk can contain.
- breakpointPercentile NumberThreshold 
- The dissimilarity threshold for splitting chunks.
- bufferSize Number
- The buffer size.
- maxTokens Number
- The maximum number of tokens that a chunk can contain.
KnowledgeBaseVectorIngestionConfiguration    
- ChunkingConfiguration Pulumi.Aws Native. Wisdom. Inputs. Knowledge Base Vector Ingestion Configuration Chunking Configuration Properties 
- Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- ParsingConfiguration Pulumi.Aws Native. Wisdom. Inputs. Knowledge Base Vector Ingestion Configuration Parsing Configuration Properties 
- A custom parser for data source documents.
- ChunkingConfiguration KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties 
- Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- ParsingConfiguration KnowledgeBase Vector Ingestion Configuration Parsing Configuration Properties 
- A custom parser for data source documents.
- chunkingConfiguration KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties 
- Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- parsingConfiguration KnowledgeBase Vector Ingestion Configuration Parsing Configuration Properties 
- A custom parser for data source documents.
- chunkingConfiguration KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties 
- Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- parsingConfiguration KnowledgeBase Vector Ingestion Configuration Parsing Configuration Properties 
- A custom parser for data source documents.
- chunking_configuration KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties 
- Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- parsing_configuration KnowledgeBase Vector Ingestion Configuration Parsing Configuration Properties 
- A custom parser for data source documents.
- chunkingConfiguration Property Map
- Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- parsingConfiguration Property Map
- A custom parser for data source documents.
KnowledgeBaseVectorIngestionConfigurationChunkingConfigurationProperties       
- ChunkingStrategy Pulumi.Aws Native. Wisdom. Knowledge Base Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy 
- FixedSize Pulumi.Chunking Configuration Aws Native. Wisdom. Inputs. Knowledge Base Fixed Size Chunking Configuration 
- HierarchicalChunking Pulumi.Configuration Aws Native. Wisdom. Inputs. Knowledge Base Hierarchical Chunking Configuration 
- SemanticChunking Pulumi.Configuration Aws Native. Wisdom. Inputs. Knowledge Base Semantic Chunking Configuration 
- ChunkingStrategy KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy 
- FixedSize KnowledgeChunking Configuration Base Fixed Size Chunking Configuration 
- HierarchicalChunking KnowledgeConfiguration Base Hierarchical Chunking Configuration 
- SemanticChunking KnowledgeConfiguration Base Semantic Chunking Configuration 
- chunkingStrategy KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy 
- fixedSize KnowledgeChunking Configuration Base Fixed Size Chunking Configuration 
- hierarchicalChunking KnowledgeConfiguration Base Hierarchical Chunking Configuration 
- semanticChunking KnowledgeConfiguration Base Semantic Chunking Configuration 
- chunkingStrategy KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy 
- fixedSize KnowledgeChunking Configuration Base Fixed Size Chunking Configuration 
- hierarchicalChunking KnowledgeConfiguration Base Hierarchical Chunking Configuration 
- semanticChunking KnowledgeConfiguration Base Semantic Chunking Configuration 
- chunking_strategy KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy 
- fixed_size_ Knowledgechunking_ configuration Base Fixed Size Chunking Configuration 
- hierarchical_chunking_ Knowledgeconfiguration Base Hierarchical Chunking Configuration 
- semantic_chunking_ Knowledgeconfiguration Base Semantic Chunking Configuration 
KnowledgeBaseVectorIngestionConfigurationChunkingConfigurationPropertiesChunkingStrategy         
KnowledgeBaseVectorIngestionConfigurationParsingConfigurationProperties       
KnowledgeBaseVectorIngestionConfigurationParsingConfigurationPropertiesParsingStrategy         
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.