This example demonstrates how to use libSQL vector search with a local database and Ollama.
npm iDownload Ollama and install it.
Make sure Ollama is running with the model mistral:
ollama run mistralExecute the example:
node index.mjsThis will setup a local SQLite database, generate embeddings using Ollama, and insert the data with embeddings, and then query the results using the vector similarity search function.