VectorStoreDataSource Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. VectorStoreDataSource
- com.
Implements
public final class VectorStoreDataSource
implements JsonSerializable<VectorStoreDataSource>
The structure, containing Azure asset URI path and the asset type of the file used as a data source for the enterprise file search.
Constructor Summary
| Constructor | Description |
|---|---|
| VectorStoreDataSource(String assetIdentifier, VectorStoreDataSourceAssetType assetType) |
Creates an instance of Vector |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Vector |
fromJson(JsonReader jsonReader)
Reads an instance of Vector |
| String |
getAssetIdentifier()
Get the asset |
|
Vector |
getAssetType()
Get the asset |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
VectorStoreDataSource
public VectorStoreDataSource(String assetIdentifier, VectorStoreDataSourceAssetType assetType)
Creates an instance of VectorStoreDataSource class.
Parameters:
Method Details
fromJson
public static VectorStoreDataSource fromJson(JsonReader jsonReader)
Reads an instance of VectorStoreDataSource from the JsonReader.
Parameters:
Returns:
Throws:
getAssetIdentifier
public String getAssetIdentifier()
Get the assetIdentifier property: Asset URI.
Returns:
getAssetType
public VectorStoreDataSourceAssetType getAssetType()
Get the assetType property: The asset type.
Returns: