FileKnowledgeSourceParameters Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. FileKnowledgeSourceParameters
- com.
Implements
public final class FileKnowledgeSourceParameters
implements JsonSerializable<FileKnowledgeSourceParameters>
Parameters for File knowledge source.
Constructor Summary
| Constructor | Description |
|---|---|
| FileKnowledgeSourceParameters() |
Creates an instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
|
Created |
getCreatedResources()
Get the created |
|
Knowledge |
getIngestionParameters()
Get the ingestion |
|
File |
setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)
Set the ingestion |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
FileKnowledgeSourceParameters
public FileKnowledgeSourceParameters()
Creates an instance of FileKnowledgeSourceParameters class.
Method Details
fromJson
public static FileKnowledgeSourceParameters fromJson(JsonReader jsonReader)
Reads an instance of FileKnowledgeSourceParameters from the JsonReader.
Parameters:
Returns:
Throws:
getCreatedResources
public CreatedResources getCreatedResources()
Get the createdResources property: Resources created by the file knowledge source.
Returns:
getIngestionParameters
public KnowledgeSourceIngestionParameters getIngestionParameters()
Get the ingestionParameters property: Consolidates all general ingestion settings for the File knowledge source, including the content extraction mode and an optional embeddingModel.
Returns:
setIngestionParameters
public FileKnowledgeSourceParameters setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)
Set the ingestionParameters property: Consolidates all general ingestion settings for the File knowledge source, including the content extraction mode and an optional embeddingModel.
Parameters:
Returns: