Open-source API & SDK to integrate your data and easily hook them up to LLMs
Used by AVA and serving 100k request a day
Check out the docs for more info.
Embedbase is a dead-simple API to help you use VectorDBs and Embeddings Models without needing to host them! You can use embedbase to customize LLM (like ChatGPT!) and automatically feed them the right information.
npm i embedbase-js
// this examples shows how you can use embedbase to automatically add context in a ChatGPT prompt import { createClient } from 'embedbase-js' const question = 'What can I do with Embedbase API?' const embedbase = createClient( 'https://api.embedbase.xyz', 'api-key') const context = await embedbase .dataset('my-documentation') .createContext(question); console.log(context) /* [ "Embedbase API allows to store unstructured data...", "Embedbase API has 3 main functions a) provides a plug and play solution to store embeddings b) makes it easy to connect to get the right data into llms c)..", "Embedabase API is self-hostable...", ] */ const prompt = `Based on the following context:\n${context.join()}\nAnswer the user's question: ${question}` // for await allows you to stream answers for await (const res of embedbase.generate(prompt)) { console.log(res) // You, can, use, ... } // answer: // You can use the Embedbase API to store unstructured data and then use the data to connect it to LLMs
- Recommendation Engines: AVA uses Embedbase to help their users find related notes
- Chat with your data: Solpilot uses Embedbase to put smart contract integration on autopilot
- Talk to your docs: ChatGPT-powered search for markdown documentation
The fastest way to get started with Embedbase is signing up for free to Embedbase Cloud.
- Any data with the sdk or api
- Github
- Supabase
- Postgres
- Qdrant
- Weaviate
- Redis
- OpenAI Embeddings
- sentence-transformers
- T5
Check out our tutorials for step-by-step guides, how-to's, and best practices, our documentation is powered by GPT-4, so you can ask question directly.
Ask a question in our Discord community to get support.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Note: this render configuration works well for experimentation.