:mod:`langchain.vectorstores.pgvector`.PGVector ====================================================== .. currentmodule:: langchain.vectorstores.pgvector .. autoclass:: PGVector .. rubric:: Methods .. autosummary:: ~PGVector.__init__ ~PGVector.aadd_documents ~PGVector.aadd_texts ~PGVector.add_documents ~PGVector.add_embeddings ~PGVector.add_texts ~PGVector.afrom_documents ~PGVector.afrom_texts ~PGVector.amax_marginal_relevance_search ~PGVector.amax_marginal_relevance_search_by_vector ~PGVector.as_retriever ~PGVector.asearch ~PGVector.asimilarity_search ~PGVector.asimilarity_search_by_vector ~PGVector.asimilarity_search_with_relevance_scores ~PGVector.connect ~PGVector.connection_string_from_db_params ~PGVector.create_collection ~PGVector.create_tables_if_not_exists ~PGVector.create_vector_extension ~PGVector.delete ~PGVector.delete_collection ~PGVector.drop_tables ~PGVector.from_documents ~PGVector.from_embeddings ~PGVector.from_existing_index ~PGVector.from_texts ~PGVector.get_collection ~PGVector.get_connection_string ~PGVector.max_marginal_relevance_search ~PGVector.max_marginal_relevance_search_by_vector ~PGVector.search ~PGVector.similarity_search ~PGVector.similarity_search_by_vector ~PGVector.similarity_search_with_relevance_scores ~PGVector.similarity_search_with_score ~PGVector.similarity_search_with_score_by_vector .. rubric:: Attributes .. autosummary:: ~PGVector.distance_strategy ~PGVector.embeddings .. example_links:: PGVector