Merge pull request #14841 from supabase/feat/case-study-berri

feat: berri ai case study text
This commit is contained in:
Ant Wilson authored and GitHub committed 2023-06-07 22:09:12 +02:00
commit 121c28b111
7 files changed
+94

No files matched your search

+6
View File
@@ -124,6 +124,12 @@ export const integrations = [
</div>
export const customers = [
{
name: 'Berri AI Boosts Productivity by Migrating from AWS RDS to Supabase with pgvector',
description:
'Learn how Berri AI overcame challenges with self-hosting their vector database on AWS RDS and successfully migrated to Supabase.',
href: 'https://supabase.com/customers/berriai',
},
{
name: 'Mendable switches from Pinecone to Supabase for PostgreSQL vector embeddings',
description:
+88
View File
@@ -0,0 +1,88 @@
---
name: Berri AI
title: Berri AI Boosts Productivity by Migrating from AWS RDS to Supabase with pgvector
# Use meta_title to add a custom meta title. Otherwise it defaults to '{name} | Supabase Customer Stories':
# meta_title:
description: Learn how Berri AI overcame challenges with self-hosting their vector database on AWS RDS and successfully migrated to Supabase.
# Use meta_description to add a custom meta description. Otherwise it defaults to {description}:
meta_description: Learn how Berri AI overcame challenges with self-hosting their vector database on AWS RDS and successfully migrated to Supabase.
author: paul_copplestone
author_title: Supabase
author_url: https://github.com/kiwicopple
author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c6775be2ae667e2acae3ccd347fed62bb3f5b3e7&v=4
authorURL: https://github.com/kiwicopple
logo: /images/customers/logos/berriai.png
logo_inverse: /images/customers/logos/light/berriai.png
og_image: /images/customers/og/berriai.jpg
tags:
- supabase
date: '2023-06-06'
company_url: 'https://www.berri.ai/'
stats:
[
{ stat: '00,000', label: Example stat },
{ stat: '00,000', label: Example stat },
{ stat: '00,000', label: Example stat },
]
misc: [{ label: 'Backed by', text: 'Y Combinator' }]
about: Supercharge your products with the power of LLMs like ChatGPT & go from prototype to production in less than a week.
---
Berri AI is an API for businesses to programmatically create custom ChatGPT instances on their data. Their customers build production-ready ChatGPT Apps in minutes with features such as prebuilt flows, editable options, authentication, and logging.
## The Challenge
Initially, Berri AI attempted to develop with AWS RDS to reduce latency and gain more control over their infrastructure. However, they encountered various challenges, including development cycles, difficulties debugging errors, limited accessibility for non-database team members, and the complexity of managing connection pools and rollbacks. These issues hindered their ability to make changes quickly and impacted their overall productivity.
<Quote img="krrish-d.png" caption="Krrish D. - Co-Founder & CEO, Berri AI">
The Python SDK simplified the process for me as a non-database person, empowering me to make
changes and bug fixes. This significantly improved our update velocity, which had a huge impact on
our productivity.
</Quote>
## Why they chose Supabase:
Berri AI migrated their vector database from AWS RDS to Supabase for several compelling reasons.
1. **Community:** After considering alternatives like pgvector, Pinecone, and Chroma, they prioritized a solution with a strong and accessible community, along with managed infrastructure.
2. **Fewer services to manage:** Since they were already utilizing Supabase for other purposes, it made sense for Berri AI to consolidate their systems and avoid the complexities of self-hosting. One of the major pain points they faced with their previous setup was managing connection pools and handling errors with the Postgres database hosted on AWS. This involved writing extensive code and dealing with rollbacks, with each database update function requiring 40-50 lines of code. Supabase simplified this process significantly by condensing it to just one line of code, eliminating the burdens of managing dependencies and handling new errors. This significantly improved their update velocity, which had a huge impact on their productivity.
3. **Better tooling:** Berri AI experienced frustration with pg_admin. Supabase's user-friendly interface offered a seamless and efficient way to manage and read tables, eliminating the need for pg_admin and providing a simple alternative. This streamlined their workflow and saved valuable time and effort. The accessibility of Supabase's client SDKs and intuitive interface played a crucial role in their decision as well. Team members who were not database experts found it easy to navigate and make changes, reducing reliance on specialized expertise and improving their overall workflow.
4. **Simplicity:** Supabase provides the ability to add new columns in a no-code manner, which provided flexibility and agility in responding to evolving requirements. This feature empowered the team to make on-the-fly adjustments and meet their immediate needs effectively.
5. **Flexibility:** Berri AI also appreciated Supabase's flexibility in allowing them to choose their preferred embedding method, as it was not tied to a specific embedding model. This ensured compatibility and adaptability for their specific use case.
The integration of pgvector on Supabase, which facilitated efficient storage and retrieval of vectors, proved to be a significant advantage for Berri AI's operations.
<Quote img="krrish-d.png" caption="Krrish D. - Co-Founder & CEO, Berri AI">
Switching to Supabase was a game-changer for us. The faster view times allowed me to quickly
access and debug data, enhancing my ability to analyze individual customer issues. The no-code
option to add new columns on the fly was fantastic, enabling us to adapt swiftly.
</Quote>
## What They Built
Berri AI built a platform that enables developers to create and manage custom ChatGPT instances for each individual user, integrating seamlessly with their unique data.
With Berri AI, businesses can rapidly scale the power of ChatGPT to cater to the needs of every user. The platform provides an out-of-the-box solution for managing a fleet of ChatGPT instances, offering businesses the ability to deliver personalized responses to user queries. This includes answering specific questions related to order status, monthly revenue, or generating personalized learning experiences in the education technology (EdTech) sector, such as summarizing lecture slides or generating practice questions from textbooks.
The platform's integration with Supabase and pgvector empowers businesses to unlock the full potential of ChatGPT and deliver customized solutions for a wide range of use cases.
<Quote img="ishaan-jaffer.png" caption="Ishaan Jaffer - Co-Founder & CTO, Berri AI">
With Supabase, my life has become much easier. Previously, managing connection pools and dealing
with errors in the Postgres database hosted on AWS was a constant challenge. I had to write 40-50
lines of code for each function, handle rollbacks, and struggle with dependencies and errors. But
with Supabase, updating the database is now just one line of code. I no longer need to deal with
complex dependencies and obscure errors. Additionally, the frustration of using pgadmin is gone.
Supabase provides a simple UI that allows me to effortlessly manage and interact with my tables.
</Quote>
## The Results
Berri AI achieved significant improvements in their operations by choosing Supabase with pgvector. They experienced streamlined database management, increased update velocity, and improved efficiency in accessing and debugging data. The user-friendly interface and flexibility of Supabase empowered non-experts within the team and facilitated agile adaptations to changing requirements. Overall, this decision transformed their workflow, enhancing productivity and positioning Berri AI for continued success and growth.
## Tech stack
- Supabase
- Zeet
- AWS
- OpenAI
- Hugging Face
Binary file not shown.

After

Width:  |  Height:  |  Size: 297 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB