Stevenic / vectra

Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.
MIT License
321 stars 29 forks source link

What's the reason for needing API key? #39

Open adaboese opened 5 months ago

adaboese commented 5 months ago

You may want to recommended something like Supabase/gte-small because it is open-source, performs better for this use case, and it can be run locally, e.g.

import { AutoTokenizer, pipeline } from '@xenova/transformers';

const generateEmbedding = await pipeline(
  'feature-extraction',
  'Supabase/gte-small',
);

const tokenizer = await AutoTokenizer.from_pretrained('Supabase/gte-small');
Stevenic commented 4 months ago

That’s a good suggestion. It’ll be a couple of weeks before I can look into this. I have like 6 coding projects im juggling right now