DEV Community

Cover image for baco.cat
Cesco Fors
Cesco Fors

Posted on

baco.cat

Discover a new dimension in wine selection with Baco.cat, where technological innovation meets a passion for wine to offer you an unparalleled experience. Through the cutting-edge use of Cohere and OpenAI embeddings, coupled with the efficiency of Supabase, we've transformed the way we recommend wines, manage allergen information, and group wines by tasting notes.

Wondering how we make this possible? We've implemented vector fields in Supabase, enabling us to perform advanced semantic searches using cosine similarity. This means that no matter your level of wine knowledge, we can provide recommendations that perfectly align with your tastes and preferences, simplifying your search even when you're not exactly sure what you're looking for.

Our goal is to personalize your wine selection experience, making it more informative, exciting, and tailored to you. Whether you're new to the wine world or an experienced sommelier, at Baco.cat, we're committed to helping you explore new vinous wonders and enrich your palate.

For developers interested in how we integrate these technologies, here's a sneak peek:

Using JavaScript and Next.js for a seamless user experience: We build our platform with Next.js, ensuring a fast and efficient user experience through its Server-Side Rendering (SSR) and Static Site Generation (SSG) capabilities. This allows us to offer an interactive and dynamic interface that makes exploring our wine selection easy.

Integrating Supabase for data management and semantic searches: Supabase gives us the flexibility of a relational database with the power of semantic searches, thanks to the integration of vector fields. This allows us to perform complex and precise queries based on user preferences, all in real-time.

Implementing text embeddings with Cohere and OpenAI for personalized recommendations: We use text embeddings to deeply understand our users' preferences and tastes. This enables us to offer highly personalized recommendations, as we can compare wine descriptions with users' expressed preferences, ensuring a precise match.

Optimizing the wine classification and recommendation process: Through the implementation of cosine similarity algorithms, we efficiently classify and recommend wines, ensuring that each recommendation is relevant and tailored to our users' interests.

We invite you to join the Baco.cat community and experience wine selection in a completely new and exciting way. Explore with us and discover your next favorite wine!

Wine #Technology #JavaScript #NextJS #Supabase #Cohere #OpenAI #WebDevelopment #Innovation

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay