Skip to content

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 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

Changelog

  • 0.5.0:
    • Change the Embedding model to google text-embedding
    • Update the dependencies
    • Update the UI for the tool calls
    • Update tailwind to v4

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