Skip to content

A demo AI chatbot with Vercel AI SDK, Turso as vector DB and google gemini model.

Notifications You must be signed in to change notification settings

patelvivekdev/turso-vector-search

Repository files navigation

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

About

A demo AI chatbot with Vercel AI SDK, Turso as vector DB and google gemini model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published