Javascript AI stack for rapid prototyping
Top 12.2% on sourcepulse
This repository provides a comprehensive Javascript-based AI stack for rapid prototyping of weekend projects. It integrates essential components like LLM orchestration, vector databases, authentication, and deployment configurations, targeting developers looking to quickly build and deploy AI-powered applications.
How It Works
The stack leverages Langchain.js for LLM orchestration, enabling seamless integration with various AI models and vector stores. It supports OpenAI for text generation and Replicate for image models. Data is stored and queried using either Pinecone or Supabase's pgvector, with embeddings generated via a provided script. Authentication is handled by Clerk, and deployment is streamlined for platforms like Fly.io.
Quick Start & Requirements
npm install
.env.local
(Clerk, OpenAI, Replicate, Pinecone/Supabase, Arcjet API keys).npm run generate-embeddings-pinecone
or npm run generate-embeddings-supabase
.npm run dev
fly launch
then fly deploy --ha=false
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The README does not specify the project's license, which is a critical detail for commercial use or closed-source linking. The setup requires obtaining multiple third-party API keys, which may incur costs.
11 months ago
Inactive