To keep up with the changes and updates in the documents in your local directory, you must delete and recreate the vector store table. This ensures that the responses generated by GenAI are up-to-date.
The following sections in this topic describe how to update a vector store:
Complete the steps to set up a vector store.
To delete and recreate the vector store table and vector embeddings, perform the following steps:
-
Delete the vector store table:
mysql> DROP TABLE VectorStoreTableName;
Replace
VectorStoreTableName
with the vector store table name. To create new embeddings for the updated documents, repeat the steps to set up a vector store.
Learn how to Generate Vector Embeddings.
Learn how to Perform Vector Search With Retrieval-Augmented Generation.