Add further value to your data with the power of OpenAI embedded in your database. Easily build a Q&A bot to answer questions in your website, application, documentation or knowledge base.
Create interactive and engaging conversational interfaces with our embedded OpenAI integration.
Learn MoreStore your vectors in Xata and find it’s nearest neighbors with our SDK helper functions.
Learn MoreLevel up your application with OpenAI chat experiences within your existing database through our ask endpoint.
// Question a specific table. In this case "Docs"
const result = await xata.db.Docs.ask(
// Pass in a simple question
'How do I install Xata?',
{
// Rules define how your chatbot responds
rules: [
'Do not answer questions about pricing or the free tier. Respond that Xata has several options available, please check https://xata.io/pricing for more information.',
'When you give an example, this example must exist exactly in the context given.'
],
searchType: 'keyword',
// Use search parameters to query and weight results
search: {
fuzziness: 2,
prefix: 'phrase',
target: [{ column: 'title', weight: 4 }, 'content', { column: 'keywords', weight: 4 }]
}
}
);
Bring your favorite LLM with LangChain and LangChain.js integrations for Xata as a vector and memory store.
Whether you're using our OpenAI integration or bring your own embeddings, Xata makes semantic search easy.
By Rishi Raj Jain
• February 28, 2024
Learn how to create a Retrieval-Augmented Generation Chatbot using Xata, SvelteKit, LiteLLM, TailwindCSS and Vercel.
By Tudor Golubenco
• March 6, 2023
The blog post compares keyword search with semantic/vector search for the task of selecting context for an ChatGPT-based questions and answers bot.
By Daniel Everts
• March 2, 2023
Use Xata to ask your data questions and get the answers that matter most.
Built with Next.js, Chakra UI, and Xata, the sample app will help you learn how to query, paginate and search records with a heavy focus on file attachments.
Xata provides the best free plan in the industry. It is production ready by default and doesn't pause or cool-down. Take your time to build your business and upgrade when you're ready to scale.
Copyright © 2024 Xatabase Inc.
All rights reserved.