Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 785 Bytes

README.md

File metadata and controls

49 lines (31 loc) · 785 Bytes

Turso Vector Search

This is a simple RAG example of how to use the Turso Vector Search API with Drizzle ORM and Mistral AI | Google AI.

Turso

Installation

bun i

Copy the .env.example to .env and set the values

cp .env.example .env

Run the migrations

bun run db:generate
bun run db:migrate

Create Index on Turso

CREATE INDEX vector_idx ON embeddings (libsql_vector_idx(embedding));

Run the server

bun run dev

Links