Create a table called embeddings to store chunks with proper indexing for similarity search.
resources
table will have to be chunked, embedded, and then stored in a new table called embeddings
.
Create a new file (lib/db/schema/embeddings.ts
) and add the following code:
embeddings
tableembeddings
table as explained in theVerify Database Setup section.