VectorDatabaseObject
represents a vector database, as created by CreateVectorDatabase.
VectorDatabaseObject[source]
attempts to recreate a VectorDatabaseObject from source.
Details and Options
- VectorDatabaseObject represents a vector database instance, allowing interaction with and management of the stored vectors.
- Returned by CreateVectorDatabase, this symbolic object enables common database management operations such as adding data, searching and listing content and properties.
- Database properties can be accessed via VectorDatabaseObject[…]["prop"].
- The following properties are supported:
-
"Dimensions" number of arrays stored and array size "DistanceFunction" distance function used "ID" database ID "Location" where the database is stored "Metadata" metadata associated with each vector "Vectors" vectors stored in the database "WorkingPrecision" numerical precision for storage and computation {prop1,…} a list of properties - Possible values of source include:
-
File[…] a local file LocalObject[…] a local object CloudObject[…] a cloud object - The following options can be specified:
-
OverwriteTarget Automatic whether to overwrite an existing location GeneratedAssetLocation $GeneratedAssetLocation where to save the database
Examples
open allclose allBasic Examples (2)
Scope (2)
Options (1)
Properties & Relations (1)
Possible Issues (1)
Create a database in a specified location:
A naked string is interpreted as the database name:
Use the File wrapper to specify the source is a file path:
Text
Wolfram Research (2024), VectorDatabaseObject, Wolfram Language function, https://reference.wolfram.com/language/ref/VectorDatabaseObject.html.
CMS
Wolfram Language. 2024. "VectorDatabaseObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/VectorDatabaseObject.html.
APA
Wolfram Language. (2024). VectorDatabaseObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VectorDatabaseObject.html