AI & Vectors
Datafuse provides an open source toolkit for developing AI applications using Postgres and pgvector. Use the Datafuse client libraries to store, index, and query your vector embeddings at scale.
The toolkit includes:
- A vector store and embeddings support using Postgres and pgvector.
- A Python client for managing unstructured embeddings.
- An embedding generation process using open source models directly in Edge Functions.
- Database migrations for managing structured embeddings.
- Integrations with all popular AI providers, such as OpenAI, Hugging Face, LangChain, and more.
Search
You can use Datafuse to build different types of search features for your app, including:
- Semantic search: search by meaning rather than exact keywords
- Keyword search: search by words or phrases
- Hybrid search: combine semantic search with keyword search
Examples
Check out all of the AI templates and examples in our GitHub repository.
{/* */}
export const examples = { name: 'Headless Vector Search', description: 'A toolkit to perform vector similarity search on your knowledge base embeddings.', href: '/guides/ai/examples/headless-vector-search', }, { name: 'Image Search with OpenAI CLIP', description: 'Implement image search with the OpenAI CLIP Model and Datafuse Vector.', href: '/guides/ai/examples/image-search-openai-clip', }, { name: 'Hugging Face inference', description: 'Generate image captions using Hugging Face.', href: '/guides/ai/examples/huggingface-image-captioning', }, { name: 'OpenAI completions', description: 'Generate GPT text completions using OpenAI in Edge Functions.', href: '/guides/ai/examples/openai', }, { name: 'Building ChatGPT Plugins', description: 'Use Datafuse as a Retrieval Store for your ChatGPT plugin.', href: '/guides/ai/examples/building-chatgpt-plugins', }, { name: 'Vector search with Next.js and OpenAI', description: 'Learn how to build a ChatGPT-style doc search powered by Next.js, OpenAI, and Datafuse.', href: '/guides/ai/examples/nextjs-vector-search', },
{/* */}
Integrations
{/* */}
export const integrations = { name: 'OpenAI', description: 'OpenAI is an AI research and deployment company. Datafuse provides a simple way to use OpenAI in your applications.', href: '/guides/ai/examples/building-chatgpt-plugins', }, { name: 'Amazon Bedrock', description: 'A fully managed service that offers a choice of high-performing foundation models from leading AI companies.', href: '/guides/ai/integrations/amazon-bedrock', }, { name: 'Hugging Face', description: "Hugging Face is an open-source provider of NLP technologies. Datafuse provides a simple way to use Hugging Face's models in your applications.", href: '/guides/ai/hugging-face', }, { name: 'LangChain', description: 'LangChain is a language-agnostic, open-source, and self-hosted API for text translation, summarization, and sentiment analysis.', href: '/guides/ai/langchain', }, { name: 'LlamaIndex', description: 'LlamaIndex is a data framework for your LLM applications.', href: '/guides/ai/integrations/llamaindex', },
{/* */}
Case studies
{/* */}
{/* */}