Giter VIP home page Giter VIP logo

semantic-vector-search-with-sagemaker-pgvector's Introduction

Semantic Vector Search in PostgreSQL using Amazon SageMaker and pgvector

This project is a search solution using pgvector for an online retail store product catalog. We’ll build a search system that lets customers provide an item description to find similar items.

For more information, check this blog post, Building AI-powered search in PostgreSQL using Amazon SageMaker and pgvector (2023-05-03)

The overall architecture is like this:

semantic-vector-search-with-sagemaker-pgvector

Overall Workflow

  1. Deploy the cdk stacks (For more information, see here).
  • A SageMaker Studio in a private VPC.
  • An Amazon Aurora Postgresql cluster for storing embeddings.
  • Aurora Postgresql cluster's access credentials (username and password) stored in AWS Secrets Mananger as a name such as VSPgVectorStackAuroraPostgr-xxxxxxxxxxxx.
  1. Open SageMaker Studio and then open a new System terminal.
  2. Run the following commands on the terminal to clone the code repository for this project:
    git clone https://github.com/ksmin23/semantic-vector-search-with-sagemaker-pgvector.git
    
  3. Open data_ingestion_to_pgvector.ipynb notebook and Run it. (For more information, see here)
  4. Run Streamlit application. (For more information, see here)

References

semantic-vector-search-with-sagemaker-pgvector's People

Contributors

ksmin23 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.