KnowledgeSourceIngestionParameters Class
- java.
lang. Object - com.
azure. search. documents. knowledgebases. models. KnowledgeSourceIngestionParameters
- com.
Implements
public final class KnowledgeSourceIngestionParameters
implements JsonSerializable<KnowledgeSourceIngestionParameters>
Consolidates all general ingestion settings for knowledge sources.
Constructor Summary
| Constructor | Description |
|---|---|
| KnowledgeSourceIngestionParameters() |
Creates an instance of Knowledge |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Knowledge |
fromJson(JsonReader jsonReader)
Reads an instance of Knowledge |
|
Ai |
getAiServices()
Get the ai |
|
Knowledge |
getChatCompletionModel()
Get the chat |
|
Knowledge |
getContentExtractionMode()
Get the content |
|
Knowledge |
getEmbeddingModel()
Get the embedding |
|
Search |
getIdentity()
Get the identity property: An explicit identity to use for this knowledge source. |
|
Indexing |
getIngestionSchedule()
Get the ingestion |
| Boolean |
isDisableImageVerbalization()
Get the disable |
|
Knowledge |
setAiServices(AiServices aiServices)
Set the ai |
|
Knowledge |
setChatCompletionModel(KnowledgeBaseModel chatCompletionModel)
Set the chat |
|
Knowledge |
setContentExtractionMode(KnowledgeSourceContentExtractionMode contentExtractionMode)
Set the content |
|
Knowledge |
setDisableImageVerbalization(Boolean disableImageVerbalization)
Set the disable |
|
Knowledge |
setEmbeddingModel(KnowledgeSourceVectorizer embeddingModel)
Set the embedding |
|
Knowledge |
setIdentity(SearchIndexerDataIdentity identity)
Set the identity property: An explicit identity to use for this knowledge source. |
|
Knowledge |
setIngestionSchedule(IndexingSchedule ingestionSchedule)
Set the ingestion |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
KnowledgeSourceIngestionParameters
public KnowledgeSourceIngestionParameters()
Creates an instance of KnowledgeSourceIngestionParameters class.
Method Details
fromJson
public static KnowledgeSourceIngestionParameters fromJson(JsonReader jsonReader)
Reads an instance of KnowledgeSourceIngestionParameters from the JsonReader.
Parameters:
Returns:
Throws:
getAiServices
public AiServices getAiServices()
Get the aiServices property: Optional AI Services configuration for content processing.
Returns:
getChatCompletionModel
public KnowledgeBaseModel getChatCompletionModel()
Get the chatCompletionModel property: Optional chat completion model for image verbalization or context extraction.
Returns:
getContentExtractionMode
public KnowledgeSourceContentExtractionMode getContentExtractionMode()
Get the contentExtractionMode property: Optional content extraction mode. Default is 'minimal'.
Returns:
getEmbeddingModel
public KnowledgeSourceVectorizer getEmbeddingModel()
Get the embeddingModel property: Optional vectorizer configuration for vectorizing content.
Returns:
getIdentity
public SearchIndexerDataIdentity getIdentity()
Get the identity property: An explicit identity to use for this knowledge source.
Returns:
getIngestionSchedule
public IndexingSchedule getIngestionSchedule()
Get the ingestionSchedule property: Optional schedule for data ingestion.
Returns:
isDisableImageVerbalization
public Boolean isDisableImageVerbalization()
Get the disableImageVerbalization property: Indicates whether image verbalization should be disabled. Default is false.
Returns:
setAiServices
public KnowledgeSourceIngestionParameters setAiServices(AiServices aiServices)
Set the aiServices property: Optional AI Services configuration for content processing.
Parameters:
Returns:
setChatCompletionModel
public KnowledgeSourceIngestionParameters setChatCompletionModel(KnowledgeBaseModel chatCompletionModel)
Set the chatCompletionModel property: Optional chat completion model for image verbalization or context extraction.
Parameters:
Returns:
setContentExtractionMode
public KnowledgeSourceIngestionParameters setContentExtractionMode(KnowledgeSourceContentExtractionMode contentExtractionMode)
Set the contentExtractionMode property: Optional content extraction mode. Default is 'minimal'.
Parameters:
Returns:
setDisableImageVerbalization
public KnowledgeSourceIngestionParameters setDisableImageVerbalization(Boolean disableImageVerbalization)
Set the disableImageVerbalization property: Indicates whether image verbalization should be disabled. Default is false.
Parameters:
Returns:
setEmbeddingModel
public KnowledgeSourceIngestionParameters setEmbeddingModel(KnowledgeSourceVectorizer embeddingModel)
Set the embeddingModel property: Optional vectorizer configuration for vectorizing content.
Parameters:
Returns:
setIdentity
public KnowledgeSourceIngestionParameters setIdentity(SearchIndexerDataIdentity identity)
Set the identity property: An explicit identity to use for this knowledge source.
Parameters:
Returns:
setIngestionSchedule
public KnowledgeSourceIngestionParameters setIngestionSchedule(IndexingSchedule ingestionSchedule)
Set the ingestionSchedule property: Optional schedule for data ingestion.
Parameters:
Returns: