returns a list with all the known instances instances of VectorDatabaseObject.
VectorDatabaseObjects[patt]
returns a list of databases with the name matching the pattern patt.
VectorDatabaseObjects
returns a list with all the known instances instances of VectorDatabaseObject.
VectorDatabaseObjects[patt]
returns a list of databases with the name matching the pattern patt.
Details
- VectorDatabaseObjects lists all the instances of VectorDatabaseObject defined by the user.
- Possible values of patt include any string pattern like:
-
"name" a string literal "prefix*" a string with wildcard characters s1~~s2~~… a Wolfram Language StringExpression RegularExpression[…] a regex
Examples
open all close allBasic Examples (2)
Scope (4)
List all the locally stored databases:
VectorDatabaseObjects[]Filter the list using a string pattern:
VectorDatabaseObjects["test*"]Filter the list using a string expression:
VectorDatabaseObjects[__ ~~ Except[DigitCharacter]]Filter the list using a regular expression:
VectorDatabaseObjects[RegularExpression[".*_[0-9]+"]]//ShortApplications (2)
Table[CreateVectorDatabase["newDatabase"], 3]List all databases that match the base name:
VectorDatabaseObjects["newDatabase*"]Delete all objects with that name:
DeleteObject /@ VectorDatabaseObjects["newDatabase*"]Indexing of the name is now reset:
CreateVectorDatabase["newDatabase"]Attempting to delete an object that does not exist will result in a failure:
DeleteObject[VectorDatabaseObject["test"]]Use VectorDatabaseObjects to check for and remove any existing instances without failing if there are none:
DeleteObject[VectorDatabaseObjects["test"]]Related Guides
History
Text
Wolfram Research (2024), VectorDatabaseObjects, Wolfram Language function, https://reference.wolfram.com/language/ref/VectorDatabaseObjects.html.
CMS
Wolfram Language. 2024. "VectorDatabaseObjects." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/VectorDatabaseObjects.html.
APA
Wolfram Language. (2024). VectorDatabaseObjects. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VectorDatabaseObjects.html
BibTeX
@misc{reference.wolfram_2026_vectordatabaseobjects, author="Wolfram Research", title="{VectorDatabaseObjects}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/VectorDatabaseObjects.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_vectordatabaseobjects, organization={Wolfram Research}, title={VectorDatabaseObjects}, year={2024}, url={https://reference.wolfram.com/language/ref/VectorDatabaseObjects.html}, note=[Accessed: 12-June-2026]}