{"id":13593824,"url":"https://github.com/different-ai/embedbase","last_synced_at":"2025-05-14T23:00:17.870Z","repository":{"id":65630935,"uuid":"582319835","full_name":"different-ai/embedbase","owner":"different-ai","description":"A dead-simple API to build LLM-powered apps","archived":false,"fork":false,"pushed_at":"2024-11-27T22:10:36.000Z","size":24515,"stargazers_count":508,"open_issues_count":35,"forks_count":53,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-14T20:55:32.209Z","etag":null,"topics":["ai","artificial-intelligence","chatgpt","chatgpt-plugin","embeddings","gpt-4","machine-learning","natural-language-processing","openai","pgvector","supabase","vector-database"],"latest_commit_sha":null,"homepage":"https://docs.embedbase.xyz","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/different-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-26T12:56:20.000Z","updated_at":"2025-04-10T06:28:54.000Z","dependencies_parsed_at":"2024-01-06T21:44:49.853Z","dependency_job_id":"58cc9cdb-5c32-401f-a020-9bfb95b102f8","html_url":"https://github.com/different-ai/embedbase","commit_stats":{"total_commits":915,"total_committers":7,"mean_commits":"130.71428571428572","dds":"0.19016393442622948","last_synced_commit":"fb0afda5e8c2ad0212ea8c0dfa495be9865221d5"},"previous_names":[],"tags_count":173,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/different-ai%2Fembedbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/different-ai%2Fembedbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/different-ai%2Fembedbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/different-ai%2Fembedbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/different-ai","download_url":"https://codeload.github.com/different-ai/embedbase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254243353,"owners_count":22038044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","artificial-intelligence","chatgpt","chatgpt-plugin","embeddings","gpt-4","machine-learning","natural-language-processing","openai","pgvector","supabase","vector-database"],"created_at":"2024-08-01T16:01:25.100Z","updated_at":"2025-05-14T23:00:17.699Z","avatar_url":"https://github.com/different-ai.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","其他LLM框架","Other LLM Frameworks"],"sub_categories":["文章","Videos Playlists"],"readme":"\u003cbr /\u003e\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"150\" alt=\"embedbasevector\" src=\"https://github.com/different-ai/embedbase/assets/11430621/a04174fa-1c0a-4737-9e83-8cfd74f1c16d\"\u003e\n  \u003ch1 align=\"center\"\u003eEmbedbase\u003c/h1\u003e\n\n\n\u003ch3 align=\"center\"\u003eHosted embeddings-as-a-service\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://discord.gg/pMNeuGrDky\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/1066022656845025310?color=black\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cdiv align=\"center\"\u003e\n      \u003ca href=\"https://app.embedbase.xyz/signup\"\u003eTry the Hosted Version\u003c/a\u003e\n      ·\n      \u003ca href=\"https://github.com/different-ai/embedbase/issues/new?assignees=\u0026labels=enhancement\"\u003eRequest Feature\u003c/a\u003e\n      ·\n      \u003ca href=\"https://github.com/different-ai/embedbase/issues/new?assignees=\u0026labels=bug\"\u003eReport Bug\u003c/a\u003e\n    \u003c/div\u003e\n    \u003cbr /\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\nCheck out the [docs](https://docs.embedbase.xyz) for more info.\n\n## What is it\n\nEmbedbase is a dead-simple API to help you use [VectorDBs](https://learn.microsoft.com/en-us/semantic-kernel/concepts-ai/vectordb) and LLMs without needing to host them!\n\n## Key features\n\n- Generate: use `.generateText()` to use 9+ LLMs\n- Semantic Search: use `.add()` to create a list of semantically searchable information and `.search()` to run semantic queries\n\n## Installation\n`npm i embedbase-js`\n\n```js\nimport { createClient } from 'embedbase-js'\n// initialize client\nconst embedbase = createClient(\n  'https://api.embedbase.xyz',\n  '\u003cgrab me here https://app.embedbase.xyz/\u003e'\n)\n \nconst question =\n  'im looking for a nice pant that is comfortable and i can both use for work and for climbing'\n \n// search for information in a pre-defined dataset and returns the most relevant data\nconst searchResults = await embedbase.dataset('product-ads').search(question)\n \n// transform the results into a string so they can be easily used inside a prompt\nconst stringifiedSearchResults = searchResults\n  .map(result =\u003e result.data)\n  .join('')\n \nconst answer = await embedbase\n  .useModel('openai/gpt-3.5-turbo')\n  .generateText(`${stringifiedSearchResults} ${question}`)\n \nconsole.log(answer) // 'I suggest considering harem pants for your needs. Harem pants are known for their ...'\n```\n\n## Table of Contents\n\n- [Getting started](#getting-started)\n- [Javascript SDK](#sdk)\n- [Docs and support](#docs-and-support)\n- [Integrations](#our-integrations)\n- [Contributing](#contributing)\n\n\n## What are people building\n\n- [Recommendation Engines: AVA uses Embedbase to help their users find related notes](https://github.com/louis030195/obsidian-ava)\n- [Chat with your data: Solpilot uses Embedbase to put smart contract integration on autopilot](https://app.solpilot.xyz/chat)\n- [Talk to your docs: ChatGPT-powered search for markdown documentation](https://github.com/different-ai/chat-gpt-powered-nextra)\n\n\n\nThe fastest way to get started with Embedbase is signing up for free to [Embedbase Cloud](https://app.embedbase.xyz/).\n\n![Dashboard Screenshot](https://user-images.githubusercontent.com/11430621/227351386-f540fac0-c5fa-485a-bcc9-f23368fe3f63.png)\n\n\n\n## Docs and support\n\nCheck out our [tutorials](https://docs.embedbase.xyz) for step-by-step guides, how-to's, and best practices, our documentation is powered by GPT-4, so you can ask question directly. \n\nAsk a question in our [Discord community](https://discord.gg/pMNeuGrDky) to get support.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](./CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdifferent-ai%2Fembedbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdifferent-ai%2Fembedbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdifferent-ai%2Fembedbase/lists"}