Skip to main content

embedbasevector

Embedbase

Seamless data integration for LLMs


Discord PyPI
Open In Colab

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.

What is it

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.

Installation

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

Table of Contents

What are people building

The fastest way to get started with Embedbase is signing up for free to Embedbase Cloud.

Dashboard Screenshot

Supported Integrations

Connections

  • Any data with the sdk or api
  • PDF
  • Github

Vector DBs

  • Supabase
  • Postgres
  • Qdrant
  • Weaviate
  • Redis

Embedding Models

  • OpenAI Embeddings
  • sentence-transformers
  • T5

Docs and support

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.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Self-hosting

Note: this render configuration works well for experimentation.

Deploy to Render

Release files for embedbase 1.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for embedbase 1.2.8
File Size Uploaded
embedbase-1.2.8.tar.gz 23.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for embedbase 1.2.8
File Interpreter ABI Platform
embedbase-1.2.8-py3-none-any.whl Python 3 none any Details

Total release size: 51.0 kB

Release files / embedbase-1.2.8.tar.gz

Download URL embedbase-1.2.8.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4bbccbd298d09e0d16c2ec2b1309be690b79053f085d28460e807c6e96f14f03
BLAKE2b-256 checksum
How to use checksums
1caf4969e51b304385798f1efc846ec4cc6f23bcda403561c2da60583d68133c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/22.4.0

Release files / embedbase-1.2.8-py3-none-any.whl

Download URL embedbase-1.2.8-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bc1310795ab06fb575e48eec2092edc78313746a0f138768010511cd97f301f
BLAKE2b-256 checksum
How to use checksums
b862f7336abcaf52aa6df1144b5334e00057304905a4ec0f12ed29da90ea9470
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/22.4.0

Release history Release notifications | RSS feed

This release

1.2.8 This release

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.1

1 release file

0.9.9

1 release file

0.9.8

1 release file

0.9.7

1 release file

0.9.6

1 release file

0.9.5

1 release file

0.9.4

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.9

1 release file

0.8.8

1 release file

0.8.7

1 release file

0.8.6

1 release file

0.8.5

1 release file

0.8.4

1 release file

0.8.3

1 release file

0.8.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page