Skip to content
프로젝트

소개

대규모 언어 모델 기반 앱을 간단하게 만들 수 있는 API입니다.

AI 및 머신러닝

이 수치를 측정하는 방법

What you can do

  • Generate: use .generateText() to use 9+ LLMs
  • Semantic Search: use .add() to create a list of semantically searchable information and .search() to run semantic queries

측정된 스타 증가

in 24h
0
in 7 days
-1
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

embedbasevector

Embedbase

Hosted embeddings-as-a-service


Discord


Check out the docs for more info.

What is it

Embedbase is a dead-simple API to help you use VectorDBs and LLMs without needing to host them!

Key features

  • Generate: use .generateText() to use 9+ LLMs
  • Semantic Search: use .add() to create a list of semantically searchable information and .search() to run semantic queries

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')
  .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.

관련 프로젝트 살펴보기

불러오는 중…