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 allclose allBasic Examples (2)
Scope (4)
Applications (2)
List all databases that match the base name:
Delete all objects with that name:
Indexing of the name is now reset:
Attempting to delete an object that does not exist will result in a failure:
Use VectorDatabaseObjects to check for and remove any existing instances without failing if there are none:
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