examples VS pgvector

Compare examples vs pgvector and see what are their differences.

examples

Analyze the unstructured data with Towhee, such as reverse image search, reverse video search, audio classification, question and answer systems, molecular search, etc. (by towhee-io)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
examples pgvector
5 78
376 9,211
10.9% 10.4%
6.8 9.9
3 months ago 2 days ago
Jupyter Notebook C
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

examples

Posts with mentions or reviews of examples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-07.
  • FLaNK Stack Weekly for 07August2023
    27 projects | dev.to | 7 Aug 2023
  • Vector database built for scalable similarity search
    19 projects | news.ycombinator.com | 25 Mar 2023
    As another commenter noted, Milvus is overkill and a "bit much" if you're learning/playing.

    A good intro to the field with progression towards a full Milvus implementation could be starting with towhee[0] (which is also supported by Milvus).

    towhee has an example to do exactly what you want with CLIP[1].

    [0] - https://towhee.io/

    [1] - https://github.com/towhee-io/examples/tree/main/image/text_i...

  • Ask HN: Any good self-hosted image recognition software?
    6 projects | news.ycombinator.com | 22 Sep 2022
    Usually this is done in three steps. The first step is using a neural network to create a bounding box around the object, then generating vector embeddings of the object, and then using similarity search on vector embeddings.

    The first step is accomplished by training a detection model to generate the bounding box around your object, this can usually be done by finetuning an already trained detection model. For this step the data you would need is all the images of the object you have with a bounding box created around it, the version of the object doesnt matter here.

    The second step involves using a generalized image classification model thats been pretrained on generalized data (VGG, etc.) and a vector search engine/vector database. You would start by using the image classification model to generate vector embeddings (https://frankzliu.com/blog/understanding-neural-network-embe...) of all the different versions of the object. The more ground truth images you have, the better, but it doesn't require the same amount as training a classifier model. Once you have your versions of the object as embeddings, you would store them in a vector database (for example Milvus: https://github.com/milvus-io/milvus).

    Now whenever you want to detect the object in an image you can run the image through the detection model to find the object in the image, then run the sliced out image of the object through the vector embedding model. With this vector embedding you can then perform a search in the vector database, and the closest results will most likely be the version of the object.

    Hopefully this helps with the general rundown of how it would look like. Here is an example using Milvus and Towhee https://github.com/towhee-io/examples/tree/3a2207d67b10a246f....

    Disclaimer: I am a part of those two open source projects.

  • Deep Dive into Real-World Image Search Engine with Python
    2 projects | /r/Python | 17 May 2022
    I have shown how to Build an Image Search Engine in Minutes in the previous tutorial. Here is another one for how to optimize the algorithm, feed it with large-scale image datasets, and deploy it as a micro-service.
  • Build an Image Search Engine in Minutes
    3 projects | /r/Python | 15 May 2022
    The full tutorial is at https://github.com/towhee-io/examples/blob/main/image/reverse_image_search/build_image_search_engine.ipynb

pgvector

Posts with mentions or reviews of pgvector. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-25.
  • Integrate txtai with Postgres
    2 projects | dev.to | 25 Apr 2024
    # Install Postgres and pgvector !apt-get update && apt install postgresql postgresql-server-dev-14 !git clone --branch v0.6.2 https://github.com/pgvector/pgvector.git !cd pgvector && make && make install # Start database !service postgresql start !sudo -u postgres psql -U postgres -c "ALTER USER postgres PASSWORD 'pass';"
  • Vector Database solutions on AWS
    1 project | dev.to | 28 Mar 2024
    When talking about Vector Databases, in the market we can find the specialized ones and multi-model, most of the major database providers like Oracle, PostgreSQL or MongoDB, for mention some of them, have integrated a specific solution to retrieve vector data.
  • Using pgvector To Locate Similarities In Enterprise Data
    2 projects | dev.to | 21 Mar 2024
    For this example, I wanted to focus on how pgvector  – an open-source vector similarity search for Postgres – can be used to identify data similarities that exist in enterprise data.
  • pgvector vs. pgvecto.rs in 2024: A Comprehensive Comparison for Vector Search in PostgreSQL
    1 project | dev.to | 19 Mar 2024
    pgvector supports dense vector search well, but it does not have plan to support sparse vector.
  • Pg_vectorize: The simplest way to do vector search and RAG on Postgres
    6 projects | news.ycombinator.com | 6 Mar 2024
    There's an issue in the pgvector repo about someone having several ~10-20million row tables and getting acceptable performance with the right hardware and some performance tuning: https://github.com/pgvector/pgvector/issues/455

    I'm in the early stages of evaluating pgvector myself. but having used pinecone I currently am liking pgvector better because of it being open source. The indexing algorithm is clear, one can understand and modify the parameters. Furthermore the database is postgresql, not a proprietary document store. When the other data in the problem is stored relationally, it is very convenient to have the vectors stored like this as well. And postgresql has good observability and metrics. I think when it comes to flexibility for specialized applications, pgvector seems like the clear winner. But I can definitely see pinecone's appeal if vector search is not a core component of the problem/business, as it is very easy to use and scales very easily

  • FLaNK 04 March 2024
    26 projects | dev.to | 4 Mar 2024
  • Vector Database and Spring IA
    2 projects | dev.to | 11 Feb 2024
    The Spring AI project aims to streamline the development of applications that incorporate artificial intelligence functionality without unnecessary complexity. On this example we use features like: Embedding, Prompts, ETL and save all embedding on PGvector(Postgres Vector database)
  • Use pgvector for searching images on Azure Cosmos DB for PostgreSQL
    2 projects | dev.to | 7 Feb 2024
    Official GitHub repository of the pgvector extension
  • pgvector 0.6.0: 30x faster with parallel index builds
    1 project | dev.to | 31 Jan 2024
    pgvector 0.6.0 was just released and will be available on Supabase projects soon. Again, a special shout out to Andrew Kane and everyone else who worked on parallel index builds.
  • Store embeddings in Azure Cosmos DB for PostgreSQL with pgvector
    2 projects | dev.to | 29 Jan 2024
    The pgvector extension adds vector similarity search capabilities to your PostgreSQL database. To use the extension, you have to first create it in your database. You can install the extension, by connecting to your database and running the CREATE EXTENSION command from the psql command prompt:

What are some alternatives?

When comparing examples and pgvector you can also consider the following projects:

towhee - Towhee is a framework that is dedicated to making neural data processing pipelines simple and fast.

Milvus - A cloud-native vector database, storage for next generation AI applications

milvus-lite - A lightweight version of Milvus wrapped with Python.

faiss - A library for efficient similarity search and clustering of dense vectors.

gorilla-cli - LLMs for your CLI

Weaviate - Weaviate is an open-source vector database that stores both objects and vectors, allowing for the combination of vector search with structured filtering with the fault tolerance and scalability of a cloud-native database​.

anomalib - An anomaly detection library comprising state-of-the-art algorithms and features such as experiment management, hyper-parameter optimization, and edge inference.

Elasticsearch - Free and Open, Distributed, RESTful Search Engine

EverythingApacheNiFi - EverythingApacheNiFi

qdrant - Qdrant - High-performance, massive-scale Vector Database for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

harlequin - The SQL IDE for Your Terminal.

ann-benchmarks - Benchmarks of approximate nearest neighbor libraries in Python