The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
change embedding to None (#7355)
Harrison Chase49b2b0e3c008
diff --git a/langchain/vectorstores/pgvector.py b/langchain/vectorstores/pgvector.pyindex d124808eed..2825fc16c8 100644--- a/langchain/vectorstores/pgvector.py+++ b/langchain/vectorstores/pgvector.py@@ -19,7 +19,6 @@ from langchain.vectorstores.base import VectorStoreBase = declarative_base() # type: Any-ADA_TOKEN_COUNT = 1536_LANGCHAIN_DEFAULT_COLLECTION_NAME = "langchain"@@ -79,7 +78,7 @@ class EmbeddingStore(BaseModel):)collection = relationship(CollectionStore, back_populates="embeddings")- embedding: Vector = sqlalchemy.Column(Vector(ADA_TOKEN_COUNT))+ embedding: Vector = sqlalchemy.Column(Vector(None))document = sqlalchemy.Column(sqlalchemy.String, nullable=True)cmetadata = sqlalchemy.Column(JSON, nullable=True)