Git Product home page Git Product logo

embedbase's Introduction


embedbasevector

Embedbase

All the tools you need to develop AI apps


Discord PyPI


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

import { createClient } from 'embedbase-js'
// initialize client
const embedbase = createClient(
  'https://api.embedbase.xyz',
  '<grab me here https://app.embedbase.xyz/>'
)
 
const question =
  'im looking for a nice pant that is comfortable and i can both use for work and for climbing'
 
// search for information in a pre-defined dataset and returns the most relevant data
const searchResults = await embedbase.dataset('product-ads').search(question)
 
// transform the results into a string so they can be easily used inside a prompt
const stringifiedSearchResults = searchResults
  .map(result => result.data)
  .join('')
 
const answer = await embedbase
  .useModel('openai/gpt-3.5-turbo-16k')
  .generateText(`${stringifiedSearchResults} ${question}`)
 
console.log(answer) // 'I suggest considering harem pants for your needs. Harem pants are known for their ...'

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

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.

embedbase's People

Contributors

louis030195 avatar ashgansh avatar dependabot[bot] avatar rom1504 avatar skyyap avatar stanbar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.