diff --git a/specification/ai/Azure.AI.Projects/agents/vector_stores/common/main.tsp b/specification/ai/Azure.AI.Projects/agents/vector_stores/common/main.tsp index 64c76ad8583a..8f981dbfc421 100644 --- a/specification/ai/Azure.AI.Projects/agents/vector_stores/common/main.tsp +++ b/specification/ai/Azure.AI.Projects/agents/vector_stores/common/main.tsp @@ -88,20 +88,22 @@ model VectorStoreStaticChunkingStrategyResponse static: VectorStoreStaticChunkingStrategyOptions; } -/** Type of vector storage configuration. */ +/** Type of vector storage asset. Asset type may be a uri_asset, in this case it should contain asset URI ID, + * in the case of id_asset it should contain the data ID. + */ union VectorStoreDataSourceAssetType { uri_asset: "uri_asset", id_asset: "id_asset" } /** - * The structure, containing Azure asset ID and the asset type of the file used as a data source + * The structure, containing Azure asset URI path and the asset type of the file used as a data source * the enterprise file search. */ model VectorStoreDataSource { /** Asset URI. */ @encodedName("application/json", "uri") - storageUri: string; + assetIdentifier: string; /** The asset type **/ @encodedName("application/json", "type") diff --git a/specification/ai/Azure.AI.Projects/agents/vector_stores/files/routes.tsp b/specification/ai/Azure.AI.Projects/agents/vector_stores/files/routes.tsp index e9505101262d..fd342488d4db 100644 --- a/specification/ai/Azure.AI.Projects/agents/vector_stores/files/routes.tsp +++ b/specification/ai/Azure.AI.Projects/agents/vector_stores/files/routes.tsp @@ -54,7 +54,7 @@ op createVectorStoreFile is Azure.Core.Foundations.Operation< @encodedName("application/json", "file_id") fileId?: string; - /** The data sorces to be used. This option is mutually exclusive with fileId. */ + /** The data sources to be used. This option is mutually exclusive with fileId. */ @doc("Azure asset ID.") @encodedName("application/json", "data_sources") dataSources?: VectorStoreDataSource[]; diff --git a/specification/ai/Azure.AI.Projects/agents/vector_stores/models.tsp b/specification/ai/Azure.AI.Projects/agents/vector_stores/models.tsp index d934f6061e17..154f700adcab 100644 --- a/specification/ai/Azure.AI.Projects/agents/vector_stores/models.tsp +++ b/specification/ai/Azure.AI.Projects/agents/vector_stores/models.tsp @@ -118,7 +118,7 @@ model VectorStoreOptions { /** The name of the vector store. */ name?: string; - /** The vector store configuration, used when vector store is created from Azure asset ID. */ + /** The vector store configuration, used when vector store is created from Azure asset URIs. */ @encodedName("application/json", "configuration") storeConfiguration?: VectorStoreConfiguration;